Em Terça 10 Abril 2007 19:26, Richard Lynch escreveu:
>
> I don't think MySQL or even mysqli have any kind of exception throwing
> yet, if ever.
Googling a bit more, I think that MySQL already have some exceptions [1], the
question, now, is: how to catch them with PHP? =]
I think that just using
On Mon, April 9, 2007 6:34 pm, Davi wrote:
> Em Segunda 09 Abril 2007 21:21, itoctopus escreveu:
>> Use the @ in front of the statement and then check the result if
>> it's
>> valid.
>>
>> --
>> itoctopus - http://www.itoctopus.com
>
>
> I already use it, but I believe that try-catch would be _more
Em Segunda 09 Abril 2007 21:21, itoctopus escreveu:
> Use the @ in front of the statement and then check the result if it's
> valid.
>
> --
> itoctopus - http://www.itoctopus.com
I already use it, but I believe that try-catch would be _more_ useful...
With try-cath I can _get_ more errors instead
3 matches
Mail list logo