PDA

View Full Version : And?


Serge
07-17-2003, 08:06 AM
Is it vaild to say this in a mysql_query?


mysql_query("SELECT link_id, des, added, title, hit FROM links WHERE cat_id = $catid AND public = 1 ORDER BY hit DESC")


My concern is the AND part I need both to be true for it to return it to me.

Thanks.

Xenon
07-17-2003, 09:19 AM
yes, seems to be alright