Re: MySQL exceptions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use the @ in front of the statement and then check the result if it's valid.

--
itoctopus - http://www.itoctopus.com
"Davi" <davividal@xxxxxxxxxxxxxxxx> wrote in message
news:200704091945.29042.davividal@xxxxxxxxxxxxxxxxxxx
>
> Hi all!
>
> I'm developing an OOP app using PHP 5.
> I want to use try-catch with mysql functions.
>
> So, the question is: what are the exceptions classes of MySQL?
> Where can I found it?
>
> TIA
>
>
> --
> Davi Vidal
> davividal@xxxxxxxxxxxxxxxx
> davividal@xxxxxxxxx
> --
>
> Agora com fortune:
> "BOFH Excuse #426:
>
> internet is needed to catch the etherbunny"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux