News Feed
Jobs Feed
Sections




News Archive
CodePoets.co.uk:
A Quickstart to using PEAR with PHP
April 13, 2006 @ 07:09:23

On CodePoets.co.uk today, a new tutorial introduces you to the PEAR DB package, giving you a howto guide on performing simple queries with its functionality.

PEAR::DB, provides a uniform, cross platform, cross database method for connecting to databases, when writing PHP applications/scripts. Extensive documentation can be found online here This article aims to show briefly, how queries and updates can be performed when using PEAR DB.

They list a few reasons why one might want to use the PEAR DB package over the normal PHP database functions before they get into the examples. There are four examples - making the connection, querying the database, what to do to avoid SQL injections, and updating your database with prepared statements.

1 comment voice your opinion now!
pear db package quickstart howto connect query sql update pear db package quickstart howto connect query sql update


blog comments powered by Disqus

Similar Posts

Community News: Freeform Framework Announcement

Mike Willbanks' Blog: RPM Packaging - Building and Deploying your own PHP

Brandon Savage's Blog: Taking A Look At Propel 1.5

DevShed: Handling Entries for a Blogger Built with PHP

echolibre Blog: The Capsule CRM API and PHP


Community Events











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


conference database series framework zendframework2 interview functional development release usergroup community introduction symfony2 opinion podcast rest phpunit language example testing

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