|
Posted by jay2006 on 12/21/06 10:09
OK, i tried it with the quote in, and got this error:
Parse error: syntax error, unexpected T_VARIABLE in
/home/squirt/public_html/mature/files/insert.php on line 117
$s = "SELECT C_USER_NAME FROM CUSTOMER WHERE C_USER_NAME = '$cus[8]'"
line 117 >>>> $sql = mysql_query($s, $link);
-Lost wrote:
> "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]
|