MyFocal
05-03-2006, 05:00 PM
How can I check MULTIPLE mysql records in a table (using PHP) to see if a row has the value I want it to have (row is 'status' and value is 'up' or 'down')? Any help would be much appreciated.
![]() | View Full Version : Check Multiple Records MyFocal 05-03-2006, 05:00 PM How can I check MULTIPLE mysql records in a table (using PHP) to see if a row has the value I want it to have (row is 'status' and value is 'up' or 'down')? Any help would be much appreciated. MyFocal 05-04-2006, 12:58 PM Can anyone help me here? I wouldnt think its that hard of a thing to do... Please help if you can. Thanks. orbitz 05-04-2006, 01:24 PM the basic query is: "select * from yourtable where `status` = 'up' or `status`='down'"; for other parts, please read some tutorials ... http://www.tizag.com/mysqlTutorial/mysqlfetcharray.php |