Which line is line 10?!?
- Original Message -
From: "Anthony Rodriguez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 2:34 PM
Subject: [PHP] Going blind? Plz hlp w/ parse error
> Please help! There is a parse error in like 10:
>
>
> // file: "root/reg
At 00:34 20/09/2001 -0400, Anthony Rodriguez wrote:
>Please help! There is a parse error in like 10:
>
>
>// file: "root/reg/add_2.php", updated: 08/25/01
>
>$connection=@mysql_connect("localhost","afrodriguez","xxx") or die ("No
>connection!");
>
>$db=@mysql_select_db("sbwresearch",$connection)
For a start use
's
much easier to read
eg
$qry_1="select * from cust_info where username=\"$username\"";
should be
$qry_1="select * from cust_info where username='$username'";
this looks like a guilty line -
$qry_2="insert into cust_info (username,password,mother) values
("$username","$p
3 matches
Mail list logo