Problem Querying Multiple Rows
Posted: Wed Dec 26, 2012 3:15 pm
All I'm trying to do is create an array with all the id's that have a value of 0 in the status column of the table.
This codes has only been returning a single row any ideas?
Code: Select all
$query = mysql_query("SELECT `tempID` FROM `pending` WHERE `status` = 0"); $status = mysql_fetch_array($query);