News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

EasyTech Blog:
Executing PL/SQL code in Zend Framework
October 29, 2008 @ 11:15:17

On the EasyTech blog, there's a recent post for Zend Framework developers out there working with the Oracle database showing how to execute PL/SQL code from your Zend_Db queries.

Calling PL/SQL code from PHP can be tricky sometimes, specially when the PL/SQL procedure has input and output parameters. In this posting I will show you how to call a procedure from the PHP using Zend Framework. I will assume you have some experience using Zend Framework, specially the Database module (Zend_db).

He walks through the creation of a simple PL/SQL stored procedure and how to prepare your query to get results out of it (Zend_Db_Statement_Oracle and an execute call). There's a few stipulations you'll need to follow - named parameters, reserving space for the output and using references for output variables.

0 comments voice your opinion now!
plsql oracle tutorial zendframework stored procedure


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Using Solarium with SOLR for Search Implementation

PHPMaster.com: Server-Side HTML Handling Using phpQuery

NETTUTS.com: Understanding and Applying Polymorphism in PHP

Zend Developer Zone: 2 Beginners Guides I Wish I had when I Started with PHP

Gonzalo Ayuso: Combining Zend Framework2 and Symfony2 components with Composer to build PHP projects


Community Events





Don't see your event here?
Let us know!


interview framework install symfony laravel api tips series package voicesoftheelephpant library list podcast introduction release deployment language bugfix community opinion

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework