using PHP what is the value for a returned result from MySQL of empty
set
ex:
if($result != NULL){
do this
}
else{
do that
}
but NULL is not right. what should I replace NULL with?
-
Before posting, please
have u tried with \0 ??
- Original Message -
From: Chris Hohimer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 05, 2002 1:54 PM
Subject: help with empty set
using PHP what is the value for a returned result from MySQL of empty
set
ex:
if($result != NULL){
do
-of-file.php
On Wednesday, June 5, 2002, at 12:20 PM, Anil Garg wrote:
have u tried with \0 ??
- Original Message -
From: Chris Hohimer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 05, 2002 1:54 PM
Subject: help with empty set
using PHP what is the value
- Original Message -
From: Chris Hohimer [EMAIL PROTECTED]
To: Anil Garg [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 05, 2002 2:26 PM
Subject: Re: help with empty set
yeah that kinda works...
what i have is
$result = mysql($database select x, y, z from $table