News Feed
Sections




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

DevShed:
Databases and PHP
June 14, 2007 @ 12:08:00

DevShed has started a new series looking at working with PHP and databases with this new tutorial posted today, an excerpt from the O'Reilly book "Programming PHP, Second Edition".

We focus on the PEAR DB system, which lets you use the same functions to access any database, rather than on the myriad database-specific extensions. In this chapter, you'll learn how to fetch data from the database, how to store data in the database, and how to handle errors. We finish with a sample application that shows how to put various database techniques into action.

In this first part of the series, they look at what kinds of things are possible with the database connection, some of the basics of using the PEAR DB class and working with data source names to help with the connection.

1 comment voice your opinion now!
database tutorial pear oreilly excerpt programming database tutorial pear oreilly excerpt programming


blog comments powered by Disqus

Similar Posts

DevShed: An Introduction to the Observer Pattern in PHP

Nick Halstead's Blog: Programming Tips #9 "debug_backtrace"

WorkingSoftware.com.au: Configuring PHP4 and PHP5 to run concurrently on FreeBSD

PHPFreaks.com: Working with checkboxes and a database

Rob Allen's Blog: Bootstrapping modules in ZF 1.8


Community Events





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


interview deployment release series community install introduction update opinion tips podcast api laravel zendserver framework language symfony library unittest package

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