RE: [PHP-DB] I can't get Oracle record structure from PHP
| From: | Sumesh Nair | Date: | Mon, 18 Mar 2002 15:48:31 +0000 |
| Subject: | RE: [PHP-DB] I can't get Oracle record structure from PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17732@lists.php.net to get a copy of this message | ||
what error does it give u. also check some of these examples on
http://conf.php.net/pres/index.php?p=slides%2Foci&id=oci
-----Original Message-----
From: Csillag Zsolt [mailto:info@starsoft.hu]
Sent: 17 March 2002 18:40
To: php-db@lists.php.net
Subject: [PHP-DB] I can't get Oracle record structure from PHP
Hi,
I want to call a Pl/Sql function from Php ( I'm using oci8 functions).
If the Pl/Sql function returns with VarChar2, number etc. it works
perfectly.
However when I use the following record for return it doesn't work:
Type T_CegTabla IS TABLE OF VarChar2(80) INDEX BY BINARY_INTEGER;
Type T_CimTabla IS TABLE OF VarChar2(110) INDEX BY BINARY_INTEGER;
TYPE T_CegLista_REK IS RECORD
( Cegnev T_CegTabla ,
Cim T_CimTabla
);
Function DoSomething (KeresoStr Varchar2,MinRow Integer, MaxRow Integer)
Return T_CegLista_REK ;
Is there a way in Php to workaround this?
I noticed that there isn't record structure in Php.
Thank you in advance
Zsolt Csillag,
Hungary
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php