PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Coding & Tutorials (http://www.phpdig.net/forum/forumdisplay.php?f=31)
-   -   Resource id #???? odbc_connect (http://www.phpdig.net/forum/showthread.php?t=2354)

ainu 01-31-2006 02:28 AM

Resource id #???? odbc_connect
 
Hi,

This is a portion of the program which gives me output correctly.

$conn = odbc_do ('myDsn', 'sa','sa');
echo '$conn-> '.$conn;

The output i am getting is

$conn-> Resource id #2

And the program worked fine.

The same statment in other program gives me the output as
$conn-> Resource id #11

And am not getting any result set while using that connection.

Can anybody tell me whats this 'Resource id #' is all about?? and how i got two different values?

Thanks


All times are GMT -8. The time now is 04:27 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.