I keep on getting this error statement:
Warning: Supplied argument is not a valid MySQL result resource in 
/usr/local/www/data/phone/insert2.php on line 10

Can someone tell me what is wrong with the code below, I just cannot figure 
it out... Thank you very much in advance.  I am using php4.


mysql_connect("$host","$user","$pass") || die(mysql_error());
mysql_select_db("$db") || die(mysql_error());

$q = mysql_query("SELECT FName, LName FROM user_info WHERE (FName='$FName' && 
LName='$LName')") || die(1);
$view = mysql_fetch_array($q) || die(2);


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to