Re: failed query results

From: Date: Sun, 28 Apr 2002 21:43:03 +0000
Subject: Re: failed query results
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95028@lists.php.net to get a copy of this message
On 28 Apr 2002 at 13:48, baldey_uk wrote: > $customer_id_check=("SELECT id FROM $customer_table WHERE firstname = > '$firstname' && lastname = '$lastname' && email = > '$email'"); > $result1=mysql_query($customer_id_check); > if (!$result1) { > print "theres no such customer!"; > } if (isset($result1) && !empty($result1) && mysql_num_rows($result1) == 0) { print "no customer"; }

« previous php.general (#95028) next »