Re: Best way to check if a query succeeded

From: Date: Thu, 29 Mar 2001 15:46:23 +0000
Subject: Re: Best way to check if a query succeeded
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46104@lists.php.net to get a copy of this message
On Thursday 29 March 2001 13:00, you wrote: > Hi, > i was just wondering what you guys do to check if a wquery suceeded or > not? I know about mysql_num_rows() and mysql_affected_rows(), just > wondered what you guys do? Check the return code of mysql_query(). The only safe method. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Pretty cool, the kind of power information technology puts in our hands these days. - Securityfocus on probing 36000000 hosts for known problems in 3 weeks

« previous php.general (#46104) next »