|Subject||Re: [firebird-php] How to capture exceptions?|
>>The problem is that firebird exceptions (as raised by "select 1/0 fromOk, this seems to be true for the second problem (an exception raised by a
> This does raise an error. Not on prepare, but when you try to fetch the
> records. The reason is that the expresion isn't calculated until you try to fetch.
firebird procedure), too.
> The script you wrote above is isqlI sure did :-) it seemed to be the shortest way to show you the problem...
> script, not PHP one. You should do something like:
> $res = ibase_query('execute procedure e_test_ex');
> if (!$res) echo ibase_errmsg();
Thank you (and all others) for your help, I did not expect the problem to
show up this late (on fetching data instead of querying - but somehow, it's
Martens & Prahl EDV, Wielandstr. 14c, 23558 Lübeck
Telefon 0451-39904-525 • Telefax -520/-559