Re: how to ?

From: Date: Tue, 11 Sep 2001 12:44:08 +0000
Subject: Re: how to ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66919@lists.php.net to get a copy of this message
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 > >

« previous php.general (#66919) next »