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

--
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