Wrox Programmer Forums
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 30th, 2006, 09:55 AM
Authorized User
Join Date: Aug 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spraveens
Default Using PEAR


I would like to know the advantages of using PEAR:DB
over the php mysql functions like mysql_connect() etc..
is there any specific reasons for using PEAR:DB over php functions?


Old December 3rd, 2006, 02:07 AM
Registered User
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

The beauty of PEAR::DB is that you utilize generic functions in place of, for example, mysql_connect() so that your finished product is portable between database variants. Some say that the added layer translation results in a noticible performance drop.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pear functions is not working vinodkalpaka Pro PHP 2 August 5th, 2005 12:56 AM
PEAR::Auth and PEAR::Auth_HTTP Ceriwaen Beginning PHP 1 February 18th, 2005 04:36 PM
What is PEAR? anshul PHP How-To 1 August 9th, 2004 11:40 AM
PEAR philip.painter@hp.com PHP How-To 1 June 6th, 2003 09:24 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.