Re: how to ?

From: Date: Tue, 11 Sep 2001 12:53:35 +0000
Subject: Re: how to ?
Groups: php.general 
Request: Send a blank email to php-general+get-66923@lists.php.net to get a copy of this message
thanks for the help! I am using MySQL. ---------- Original Message ---------------------------------- From: "Andrey Hristov" <ahristov@icygen.com> 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" <clint@factorxsoftware.com> To: "Php General MailingList" <php-general@lists.php.net> 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#66923) next »