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

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

c# - HwndSource win32 integration with Ribbons and KeyTips -