Jump to content

probably an easy one


xcandiottix

Recommended Posts

$sql = "SELECT * FROM uploads WHERE db_Id <= $previousID & db_Validate = $var01 ORDER BY db_Id DESC LIMIT 1";

 

except, it doesn't process ... & db_Validate = $var01 ... in my ... $result = mysql_query($sql)

 

How would I say WHERE db_Id <= $previousID ***and also that*** db_Validate = $var01

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/197201-probably-an-easy-one/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.