Re: Antw: Re: [PHP-DB] sybase remote procedure ergebnis in variable
| From: | Michiel_Lange at actuera dot com | Date: | Wed, 19 Sep 2001 12:03:17 +0000 |
| Subject: | Re: Antw: Re: [PHP-DB] sybase remote procedure ergebnis in variable | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12565@lists.php.net to get a copy of this message | ||
Missed that...
Try these:
$VARIABLE = odbc_exec(...)
or try what $@VARIABLE contains...
Met vriendelijke groet,
Michiel Lange
ActuEra B.V.
"Stefan Siebenkittel"
<Stefan.Siebenkittel@contr To: Michiel_Lange@actuera.com
olware.de> cc:
Fax to:
19-09-2001 13:55 Subject: Antw: Re: [PHP-DB] sybase remote
procedure ergebnis in
variable
Hi,
I posted my question separately in english too:
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
>>> <Michiel_Lange@actuera.com> 09/19 1:30 >>>
anyone who can translate this?
Met vriendelijke groet,
Michiel Lange
ActuEra B.V.
7k
<stefan.siebenkittel@contr To:
php-db@lists.php.net
olware.de> cc:
Fax to:
19-09-2001 12:50 Subject: [PHP-DB]
sybase remote procedure ergebnis in variable
Hallo,
ich nutze per ODBC eine remote procedure auf einem Sybase Server. Die
Prozedur liefert mir unter anderem eine Variable zurück, die ich in PHP
weiternutzen muß. Kann mir jemand einen Hinweis geben, wie ich die
Variable der ODBC Abfrage in eine PHP Variable übertragen kann?
Hier das Beispiel:
odbc_exec ($conn,"declare @VARIABLE int exec PROZEDURNAME
'TABELLENNAME_SPALTENNAME', @VARIABLE output");
@VARIABLE soll übertragen werden in $VARIABLE
Danke im voraus
7k
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net