Re: query returned "Resource id #2"
| From: | Alex | Date: | Fri, 17 Aug 2001 21:22:43 +0000 |
| Subject: | Re: query returned "Resource id #2" | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11486@lists.php.net to get a copy of this message | ||
Could you give me an example?
Grant wrote:
> 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);