News Feed
Sections




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

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

Greg Beaver's Blog: pear.php.net is now mirrored

Community News: Latest PEAR Releases for 09.03.2007

Sebastian Bergmann\'s Blog: PHP 5.1 / GCC Benchmark (Update)

Pierre-Alain Joye's Blog: Zip-1.6.0, PHP 5.2.0 and ZipCode

Matthew Turland's Blog: Unit Tests and Code Coverage with PHPT


Community Events





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


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

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