Welcome Guest, Not a member yet? Register   Sign In
[Q] How to catch SQL error?
#3

[eluser]makoto kuwata[/eluser]
Thank you for your reply.

[quote author="Randy Casburn" date="1216975553"]Doesn't show_error() provide it?

I actually prefer the native PHP mysql_error() because it doesn't rely on all the various configuration variations.[/quote]

I think show_error() is not a solution for this case,
because $this->db-insert() doesn't return control to my code when error raise.
(I'm using PHP4.)

Is there any other hints?

--
regards,
makoto kuwata


Messages In This Thread
[Q] How to catch SQL error? - by El Forum - 07-24-2008, 08:54 PM
[Q] How to catch SQL error? - by El Forum - 07-24-2008, 09:45 PM
[Q] How to catch SQL error? - by El Forum - 07-24-2008, 11:41 PM
[Q] How to catch SQL error? - by El Forum - 07-25-2008, 01:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB