When i open a ODBC connection, i get a resourceID. I want to save that ID by using session_register so when i want to query the database with that resourceID in another .php file, i still have to know the resourceID.
I can save strings and integers that way, but it seems that:
$id=odbc_connect("mydsn","user","pass");
$id is of the 'resource' type.
and it can't be 'session_registered'.
i have to make a pointer to the resourceID?
But how?
Thanks, Kees