PHP if statement with a MySQL query -
is there way if statement this:
if ($password == mysql_query("select password member id = $id")) { // f00 } so mean is, if possible and/or practice have short query in if, instead of extracting db first.
thanks!
mysql_query returns resource wont work
Comments
Post a Comment