Posted by -Lost on 12/21/06 09:51
"jay2006" <tigersta@iinet.net.au> wrote in message
news:1166685440.527064.274260@i12g2000cwa.googlegroups.com...
>I added:
>
>
> $s=SELECT C_USER_NAME FROM CUSTOMER where C_USER_NAME = '$cus[8]'";
> $sql = mysql_query($s, $link);
>
>
> Then tried to register and got the following error:
>
>
> Parse error: syntax error, unexpected T_STRING in
> /home/squirt/public_html/mature/files/insert.php on line 116
You both forgot the first quote around the $s variable.
$s = "SELECT C_USER_NAME FROM CUSTOMER WHERE C_USER_NAME = '$cus[8]'"
-Lost
Navigation:
[Reply to this message]
|