[PHP-DB] sybase remote procedure ergebnis in variable

2001-09-19 Thread 7k

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] sybase remote procedure ergebnis in variable

2001-09-19 Thread Michiel_Lange


anyone who can translate this?

Met vriendelijke groet,

Michiel Lange
ActuEra B.V.


   

7k 

stefan.siebenkittel@contr   To: [EMAIL PROTECTED]  

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]






--
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]




Re: Antw: Re: [PHP-DB] sybase remote procedure ergebnis in variable

2001-09-19 Thread Michiel_Lange


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: [EMAIL PROTECTED] 

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

 [EMAIL PROTECTED] 09/19 1:30  

anyone who can translate this?

Met vriendelijke groet,

Michiel Lange
ActuEra B.V.



7k

stefan.siebenkittel@contr   To:
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]











--
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]