WHERE id=preselected id's?
Posted: Sun Apr 01, 2007 2:26 pm
I have a table with 8 users ( id= 1 -
and now I want the data for only id 1-4... How do I go about that? Tryid this... but something wrong!
Code: Select all
$result = mysql_query("SELECT * FROM electric2007 WHERE id=1-4 ORDER BY total desc")