I'm looking to create some sort of if-else statement, where if any of the variables are a certain value, it will print their name, if NONE of them hold that value, it will print '(none)'...make any sense?
I have the first part down:
while ($school = mysql_fetch_array($result))
{
if ($school[status] == 'Closed')
{
print "$school[schoolname]<br>";
}
}
Can't get the second part, any help? Thanks, Dave