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,
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");