Parse Error Help

Posted on 16th Feb 2014 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

Other forums