Re: still not-empty set

2002-06-06 Thread Gerald Clark
Maybe if (!($result)) { Try print STDERR "RESULT=$result\n"; to see what you are comparing to. Chris Hohimer wrote: > thanks for all the replies!! but it is not working. > here is the loop: > > if($result == EMPTY SET){ > $Scheduled = NULL; > } > else{ > $Tech = mysql_result($result,

still not-empty set

2002-06-05 Thread Chris Hohimer
thanks for all the replies!! but it is not working. here is the loop: if($result == EMPTY SET){ $Scheduled = NULL; } else{ $Tech = mysql_result($result, 0, "tech"); $SNumber = mysql_result($result, 0, "snumber"); $Scheduled = mysql_result($result, 0, "scheduled");