Re: [PHP-DB] resources and resource types

2008-03-31 Thread Jon L.
What I get for not refreshing. ;) Sorry, man. Didn't know you already gave the links. - Jon L. On Mon, Mar 31, 2008 at 1:56 PM, Andrés G. Montañez < [EMAIL PROTECTED]> wrote: > The ID of the resource changes on every new resource. > There is no co-relation between resources and resources id. >

Re: [PHP-DB] resources and resource types

2008-03-31 Thread Jon L.
Here's the manual: http://php.net/language.types.resource Also: http://php.net/resource An entire list of all possible resource types and respective functions. Read up, man. - Jon L. On Mon, Mar 31, 2008 at 1:39 PM, Richard Dunne <[EMAIL PROTECTED]> wrote: > When I did a search on "resource(5)

[PHP-DB] Problem when using SQL_CUR_USE_ODBC on connect

2008-03-31 Thread cfs
I'm using PHP with Apache. PHP code connects to MS SQL server using ODBC. I'm doing a query against a table that is very simple: one column of the real data type, one of the text data type. The text field is set to "testing 1,2,3". The real column is set to 10.015. When I use the default c

[PHP-DB] Better way to access MS SQL Server from PHP

2008-03-31 Thread cfs
Currently using ODBC to connect to MS SQL server 2005. Profiling shows that to fetch many rows requires a cursor based fetch of each record - a round trip to SQL server for each. I would like to use some driver/interface from PHP to SQL server that would get all rows in one round trip, or at le

Re: [PHP-DB] resources and resource types

2008-03-31 Thread Andrés G. Montañez
The ID of the resource changes on every new resource. There is no co-relation between resources and resources id. The only thing you can get is the Type of the Resource, read: * http://www.php.net/manual/en/language.types.resource.php * http://www.php.net/manual/en/resource.php * http://www.php.ne

RES: [PHP-DB] resources and resource types

2008-03-31 Thread Thiago Pojda
[top posting warning] You still did not RTFM as Stut told you 4 days ago. I'm pasting here the entire conversation with the subject "Resource id #5": -Mensagem original- De: Stut [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 27 de março de 2008 15:14 Para: Richard Dunne Cc: php-db@

[PHP-DB] resources and resource types

2008-03-31 Thread Richard Dunne
When I did a search on "resource(5)" within the PHP online documentation, I found the resource page resource.php. While although it lists all the resources used with mysql, it does not mention how resources are related to resource numbers as above. A query such as a row count on a table results