Re: identify $handles in $resource ?



Curtis wrote:
On Mon, 29 Dec 2008 12:30:22 -0500, jstucklex@xxxxxxxxxxxxx wrote:
Greg Russell wrote:
How does one identify the "handles" that are available in any given $resource, please?
They are returned when that resource is allocated. For instance, fopen() returns a handle to the file.

Additionally, check out `get_resource_type()'.

<http://php.net/get_resource_type>


Which identifies what resource the handle is for - not what handles are available for the resource.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: How many rows in a table
    ... gives me a resource, not the count. ... Let MySQL do the counting. ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: error on sql in php code
    ... result resource in C:\Program Files\Apache Software Foundation ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: mysql/php error message?
    ... Geoff Cox wrote: ... result resource in path/user-groups.php on line 25" (line 25 is the ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: testing for the existence of a resource
    ... Curtis wrote: ... use $sth ... you're not dealing with a resource. ... You want a PDOStatement object. ...
    (comp.lang.php)
  • Re: identify $handles in $resource ?
    ... Greg Russell wrote: ... They are returned when that resource is allocated. ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)