thanks for the help! I am using MySQL.

---------- Original Message ----------------------------------
From: "Andrey Hristov" <[EMAIL PROTECTED]>
Date: Tue, 11 Sep 2001 15:44:08 +0300

Look for mysql_affected_rows() docs.

Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS


----- Original Message ----- 
From: "Clint Tredway" <[EMAIL PROTECTED]>
To: "Php General MailingList" <[EMAIL PROTECTED]>
Sent: Tuesday, September 11, 2001 3:40 PM
Subject: [PHP] how to ?


> is there a way to tell if an insert failed while a in a loop. I tried this: $query = 
>"my query";
> if (!$query)
> {
> logic here
> }
>  but this is not working... is this even possible?
> 
> thanks!
> Clint
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to