List:General Discussion« Previous MessageNext Message »
From:fbsd_user Date:March 11 2006 5:53pm
Subject:mysql_query gives Resource id #3 error
View as plain text  
	$sql = "SELECT logon_id
	        FROM members
              WHERE logon_id = '$logonid' AND logon_pw =
'$logonpw'";

 	$result = mysql_query($sql) or die('Query failed. ' .
mysql_error());

      print "$result";  shows Resource id #3


  Where can I find meaning for what this means?

  And why does mysql_error() not contain the description of this
error?

  And why was the 'or die' condition not taken?

Thread
mysql_query gives Resource id #3 errorfbsd_user11 Mar
  • Re: mysql_query gives Resource id #3 errorPat Adams12 Mar
RE: mysql_query gives Resource id #3 errorSST - Adelaide)12 Mar