RE: [PHP-DB] Direct Access to an Array Item?

From: Date: Wed, 09 Aug 2006 19:54:08 +0000
Subject: RE: [PHP-DB] Direct Access to an Array Item?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-42279@lists.php.net to get a copy of this message
On Wed, 9 Aug 2006, Bastien Koert wrote:
use mysql_result mysql_result ( $result, 0, 2 ) where 2 is the offset of the fields in the row
In one line of code, I want to fetch the row into a variable, and test a variable within that row. I want to know how to do this both within a DB query and outside of. Your solution is valid, but not what I'm looking for. ---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
beckman@purplecow.com                             http://www.purplecow.com/
---------------------------------------------------------------------------

« previous php.db (#42279) next »