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: Handling Cookies and File Data with the Factory Pattern in PHP 5

ServerGrove Blog: How to setup multiple PHP versions on Apache

O\'Reilly: Designing a database-driven PHP App? Don\'t Forget the Data!!

DevShed: Validating User Input with the Strategy Pattern

The Bakery: Advanced Pagination (1.2)


Community Events





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


code laravel series list unittest podcast release language api wordpress threedevsandamaybe community introduction testing developer install refactor framework interview opinion

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