How do I assign Oracle pakage variable's value to a php variable?
| From: | Prince | Date: | Mon, 29 Apr 2002 19:59:55 +0000 |
| Subject: | How do I assign Oracle pakage variable's value to a php variable? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18879@lists.php.net to get a copy of this message | ||
Hello,
I have a package like the following one.
creare or replace package my_pkg as
my_pkg_var varchar(10) defalut 'myVal';
end my_pkg ;
Now, I want to read this value into a php variable (say $my_php_var). How do
I do this?
in PL/SQL, I can easily do this as
declare
tmp varchar2(10);
begin
tmp := my_pkg.my_pkg_var ;
end ;
/
Thanks,