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";
}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Reply via email to