Hi,

I run a remote procedure via ODBC on a sybse server. The procedure 
returns an integer in a variable "@VARIABLE". I have to use the integer 
as a variable "$VARIABLE" in PHP. Does anybody know how to get the 
content of "@VARIABLE" into "$VARIABLE"?
This is the code I use:

odbc_exec ($conn,"declare @VARIABLE int exec PROZEDURNAME 
'TABELLENNAME_SPALTENNAME', @VARIABLE output");

content of @VARIABLE must be written into $VARIABLE

Thanks in advance
7k


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to