I am having problems with posting the odbc connection id. odbc_connect in the manual says returns an int. Echo'ing the return value gives "Resource id #1". When i try post the variable in a form and then use the variable i get a warning saying that the passed parameter is not a valid ODBC link resource. Using the connection id after an odbc_connect, no probs. Also when i pass it to a function, no problems It seems the varaible is losing its type after a post or get. I tried settype to integer and the variable becomes 0.
So how do you post such a variable?.....Stupid question is there maybe a resource type of variable?
thanks
marios