Hey,
This is a simple problem I think. I may have wrong code or something. I need to print something if the table contains no rows. This is what I basically have.
$result = mysql_query( "SELECT * FROM tryouts ORDER BY priority DESC" );
while ($row = mysql_fetch_array($result))
{
if($row == 0){
print "There are no tryouts at the present time.";
}
else{
print"something else"
}
Can someone tell me where I am going wrong. Thanks in advance.