sybase remote pocedure into variable

From: Date: Wed, 19 Sep 2001 11:30:02 +0000
Subject: sybase remote pocedure into variable
Groups: php.db 
Request: Send a blank email to php-db+get-12562@lists.php.net to get a copy of this message
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

« previous php.db (#12562) next »