By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

if mysql_query() produces an error...

P: n/a
....is it not true that mysql_error() will persist? I have a case on a site
where the admin enters a new user and, for some reason, does it wrong,
producing a mysql_error() instance. If they try to, again, enter this user
immediately after the error is shown, mysql_select_db dies.

I am thinking that this can be resolved by clearing mysql_error()
immediately after the error is reported. How can that be done, or am I way
offbase here?

Thanx
Phil
Jul 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.