Hi,

Im trying to do an if statement based on if one field in every entry has the same value, in this case 0.

Wondering if its possible. As you can see im selecting taster_Active from the database, then I wont to check if in every entry has 0 and if so show nothing, but even if one has a 1 instead it moves onto the else bit

PHP Code:
$q=mysql_query("select taster_Active from Offers") or die (mysql_error()); 
$rows=mysql_fetch_assoc($q);
?>
<div id="mainHome_Nav_Drop">
<? if ($rows["taster_Active"] == "0") { ?>
<p style="color:#FFFFFF">Nothing to see here</p>
<? } else { ?>