Posted by Sonnich on 01/18/07 14:33
Hi all!
If I have
$result=odbc_exec($conn, $sql2);
while(odbc_fetch_row($result))
Then I'd like to check for errors on the first line, so I can catch the
error and handle it myself?
Like the delphi:
try
$result=odbc_exec($conn, $sql2);
$error=false;
except
$error=true;
end
while( !$error && odbc_fetch_row($result) )
BR
Sonnich
Navigation:
[Reply to this message]
|