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">
Did you know?Explore Trending and Topic pages for more stories like this.

<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

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

breaking a text file into paragraphs based on strings
I have a text file of email addresses that is all squished together. It looks like this:

abc

phpMailer not working ..........
HI,
I was playing with the phpMailer script and tried to send a smiple mail using their test scri

What exactly is net neatrality?
What exactly is it? I think it's anti-censorship and... stuff... but I don't really understand it

Match stored value with the current value in a loop
Hello,

I have a MySQL db were I store articles in.

I have a form to fill these article

Problem with the Update command used with a sqldataadapter
I'm connected to a database on an SQL Server and I'm using a sqldataadapter, sqlconnection, sqldatas

problem when runing a funciton
I am trying to connect to database using a funciton in a functions.php

<?php
funct

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

classic dynpro : hide area and auto adjust hights
Hi,

I want to develop a similar user interface as is used in standard transaction MIGO.

problem in program for counting no of chars using pointers
Hi all, I was trying to make a program which counts number of chars in a string using concpt of poin

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