PDA

View Full Version : Resource id #???? odbc_connect


ainu
01-31-2006, 02:28 AM
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