hi,
I am trying to find a match in column 'email' (which is set to a tinytext column with null set to 'no') for $email in table 'clientData'.
this is the code I am using in php:
I get the error message:
Warning: Supplied argument is not a valid MySQL result resource
what does this mean?
if the same code is used but on column 'id' it works fine!
Hope anyone can explain to me what I am doing wrong,
thanks,
Ron
I am trying to find a match in column 'email' (which is set to a tinytext column with null set to 'no') for $email in table 'clientData'.
this is the code I am using in php:
Code:
$result = mysql_query("SELECT * FROM clientData WHERE email=$email",$db);
$myrow = mysql_fetch_array($result);
I get the error message:
Warning: Supplied argument is not a valid MySQL result resource
what does this mean?
if the same code is used but on column 'id' it works fine!
Hope anyone can explain to me what I am doing wrong,
thanks,
Ron