Parse Error Help


Posted on 16th Feb 2014 07:03 pm by admin

Hello, I got the parse error "Parse error: syntax error, unexpected ',' in register.php on line 21

Heres the code:
Code: <body bgcolor="black">

<head>

<title>Unamed Project</title>

<link rel="stylesheet" type="text/css" href="http://bleej.exofire.net/main.css" />

</head>

<div style="background-color:green; text-align:center">

<a href="index.html">Index</a>

</div>








<?php
@mysql_connect("localhost", "bleej", "*********") or die("Cannot connect to DB!");
@mysql_select_db("tbl_lgin") or die("Cannot select DB!");
[b]$sql="INSERT INTO login_tbl (loginid, password and email) VALUES (".$loginid.”,”.$password.”,”.$email.”)”;[/b]
$r = mysql_query($sql);
if(!$r) {
$err=mysql_error();
print $err;
exit();
}
?>

</body>
</html>

Any help? I can't see anything wrong

No comments posted yet

Your Answer:

Login to answer
216 Like 25 Dislike
Previous forums Next forums
Other forums

problem with array - multilingual page
this is my test page :
Code: <?php
if(isset($_GET['lang'])) {
if($_GET['la

moving mouse to display image coordinates
I have an existing MFC application that shows an image in the main window.
I'd like to be able to

SAP Management Console is blank
Dear All ,

I am facing problem in my des sever suddely in SAP Management Console is blank and

Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne

Running a cron job through PHP/Apache?!
Hello all,
I have a PHP script which makes a cron file from user input. When i try to run the cro

Problem with php's rename function
So, i'm having a problem with the php rename function. Basically my script 'delete_user.php' attempt

Amatuer requiring assistance
Beginner and amateur in need of assistance

My Site - (Spare Parts for Domestic Appliances)

problems with php variables in mysql query
i can't seem to get the following query to work.

select $q1c from $vote_rate where id = $re

Else statement screws up all css
Does anyone know what goes wrong in the process with this php code?
This code seems to be causing

ALV List Display to point to another report on Double Click
Hi,

I want my ALV List Display to point to another report on Double Click on its line ite

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash