note 31484 added to ref.oracle
| From: | john at no_gay_refereces_please dot com | Date: | Wed, 23 Apr 2003 18:03:21 +0000 |
| Subject: | note 31484 added to ref.oracle | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46988@lists.php.net to get a copy of this message | ||
Ok. Considering it took me about three hours to find the answer to this:
Running a stored procedure in Oracle 8i + PHP4 (explicitly).
$sql = "begin procedure_name($required_variables_string); end;";
... execute code here...
but your string should look like what is given above.
For example, if I was going to execute the following:
$sql = "SELECT * from some_table"; looks like straight SQL, vs the one above which looks
more like a PL/SQL block.
A bit gay in my opinion, but this is my 2c for those who might need to know how to execute a stored
procedure using PHP.
--
http://www.php.net/manual/en/ref.oracle.php
http://master.php.net/manage/user-notes.php?action=edit+31484
http://master.php.net/manage/user-notes.php?action=delete+31484
http://master.php.net/manage/user-notes.php?action=reject+31484