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

switch not getting value
what am i doing wrong?
i want to populate the country list according to the category
i want to

Problem assigning value to variable in "IF" function
Does this script makes sense? I am trying to take the value that is set to "authenticat" a

Problems with adding a link to one position in a 'foreach' loop, please help
Hello!

Iam pretty new to programming and I wanna create a table with users from an array. It

Problem in OnClientClick and OnClick sync
Hi,Strange and irritating problem: I have below button declaration in markup of the aspx page:

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

update the selected existing records of database
Hi frndz,
I am new to php and get stuck....

Edit.php > Update.php > Updatea

Sql and php order list script problems
Hi im having a few problems with trying to get the coding right on a orders list ive done (or trying

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

PHP Function Page Advice
Hi All, I am quite new to PHP and Javascript but have written an Online Shop (Mainly for Fun and edu

please hep to get values from a table row
can anyone tel me how I can select and get data from one row by pressing an Edit button in that row

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