BC remote Oracle DBA - Call (800) 766-1884
Free Oracle Tips

Oracle Consulting Oracle Training Development

Remote DBA

 

Remote DBA Plans
Remote DBA Service

 
Remote DBA Oracle Home
Remote DBA Oracle Training
Remote DBA SQL Tuning Consulting
Remote DBA Oracle Tuning Consulting
Remote DBA Data Warehouse Consulting
Remote DBA Oracle Project Management
Remote DBA Oracle Security Assessment
Remote DBA Unix Consulting
Burleson Books
Burleson Articles
Burleson Web Courses
Burleson Qualifications
Oracle Internals Magazine
Oracle Links
Remote DBA Oracle Monitoring
Remote DBA Support Benefits
Remote DBA Plans & Prices
Our Automation Strategy
What We Monitor
Oracle Apps Support
Print Our Brochure
Contact Us (e-mail)
Oracle Job Opportunities
Oracle Consulting Prices





   

 

 

 
 

PEAR

Oracle Tips by Burleson Consulting

PEAR (PHP Extension and Application Repository) is a large collection of PHP modules available for various purposes. PEAR modules can be used to handle database tasks, create HTML tables and forms, parse email and more.  The PEAR authors have created something similar to CPAN for PHP. CPAN (Comprehensive Perl Archive Network) is a unique repository of Perl.

PEAR is still in its infancy, but already contains a myriad of modules that make programming faster and easier. One module is the PEAR DB module, written in a form comparable to its older Perl DBI cousin. Many conventions are strikingly similar, especially through using the ‘?’ character for placeholders.

PEAR DB is simpler and smaller than the OCI8 module, consequently it lacks support for dynamic cursors. If application plans include dynamic cursors (REF cursors in Oracle jargon), PEAR DB is not an option. On the other hand, PEAR DB does not require any special considerations for LOB variables and columns. It treats them just like any other variable type.

This chapter describes how to use PEAR DB and gives brief examples of how to use other PEAR modules, such as the module for creating HTML forms and converting a result set to an HTML table.  This chapter is organized as follows:

  • Connecting to Oracle.

  • Querying Database and Fetching Rows.

  • Auxiliary Methods.

  • Preparing SQL Statements

  • HTML_Table Module

  • HTML_Form Module

  • Conclusion

SEE CODE DEPOT FOR FULL SCRIPTS


The above book excerpt is from  "Easy Oracle PHP: Creating Dynamic Web Pages with Oracle Data". 

You can buy it direct from the publisher for 50%-off and get instant access to the code depot of Oracle tuning scripts:

http://www.rampant-books.com/book_2005_2_php_oracle.htm

 


Expert Remote DBA

BC is America's oldest and largest Remote DBA Oracle support provider.  Get real Remote DBA experts, call
BC Remote DBA today.

 

 

Remote DBA Service
 

Oracle Tuning Book

Free Oracle dictionary reference poster

BC Oracle support

Oracle books by Rampant

Oracle monitoring software

North Carolina Oracle Users Group

 

 Arabian horse breeder

Seeing eye horses

 

 

Burleson is the American Team

American Flag

 

 

BC Remote Oracle Support
P.O. Box 511 • Kittrell, NC, 27544

Remote DBA

Remote DBA Services

 

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.



Hit Counter