You are here: Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL « PHP Language « IT news, forums, messages
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL

Posted by Geoff Berrow on 12/21/06 10:28

Message-ID: <1166695793.854577.17810@f1g2000cwa.googlegroups.com> from
jay2006 contained the following:

>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);

Missing semi-colon

$s = "SELECT C_USER_NAME FROM CUSTOMER WHERE C_USER_NAME = '$cus[8]'";
$sql = mysql_query($s, $link);
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация