Re: Interbase fields by name?

From: Date: Thu, 19 Oct 2000 19:11:00 +0000
Subject: Re: Interbase fields by name?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-3808@lists.php.net to get a copy of this message
Whoops! Forgot the code!! $host = 'localhost:c:\db\Broadway.gdb'; $user = 'SYSDBA'; $password = 'masterkey'; $dbh = open_db($host, $user, $password); $isStmnt = "SELECT CL_FIRSTNAME,CL_LASTNAME,CL_SESSION_ID " . "FROM CLIENT WHERE CL_TELEPHONE= '" . $oldTelephone . "'"; $isSthdl = ibase_query($isStmnt,$isDbh); while ($row = ibase_fetch_row($isSthdl)) { $first = $row[0]; $last = $row[1]; $sessionid = $row[2]; }; ibase_free_result($isSthdl); ibase_close($dbh); +++++++ Todd -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.db (#3808) next »