Re: query returned "Resource id #2"

From: Date: Fri, 17 Aug 2001 22:10:02 +0000
Subject: Re: query returned "Resource id #2"
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11484@lists.php.net to get a copy of this message
That Resource ID #2 is the connection or result set. You need to use the connection to do a query, which returns a result set, then use the result set to do fetches. Those will return an array of the stuff you really wanted. ______________________________________________________________________________ Your mouse has moved. You must restart Windows for your changes to take effect. #!/usr/bin/perl print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);

« previous php.db (#11484) next »