Subject Re: [firebird-php] Firebird exception handling
Author Almad
On Tuesday 07 of September 2004 20:25, Lester Caine wrote:
> $DB->debug = true;
> and see what it says.

<?php
include('adodb.inc.php'); # load code common to ADOdb

$DB->debug = true;
$DB =
NewADOConnection('firebird://usr:psw@localhost//var/www/databases/FIDLO.fdb');

# No need for Connect or PConnect when using URI syntax
$Q="SELECT USER_ID, HOTEL_ID, HOTEL_NAME, LANG_DEFAULT, \"TYPE\", IS_ADMIN,
SLOT FROM PROC_RS_GET_USER_PARAMS('almad', '".md5("blah")."')";
$result = $DB->Execute($Q);

while (!$result->EOF){
echo $result->fields[1] . " - " . $result->fields[2] . "\n";
$result->MoveNext();
}
echo $DB->ErrorMsg();
?>

Returns nothing.

Well...but there is nobody who use Firebird without some abstraction layer?

I'd like to knew how it works and how to do it, not how *some* abstraction
layer do it *somehow*...

--
Lukas "Almad" Linhart