on 3/8/02 1:04 PM, Michael Zornek at [EMAIL PROTECTED] appended the
following bits to my mbox:

> I'm looking for a good MySQL db abstraction layer. I'm just coming back to
> PHP/MySQL and rather writing my own I figured I'd try to see if any are
> already out there.
> 
> The layer should obviously have the basics, of connect, query, and close,
> and possibly some error checking and handling.

You should probably look into PEAR.  <http://pear.php.net/>  You probably
have the basic PEAR stuff if you did a source install of PHP.

They have a DB Abstraction class that is similar to Perl DBI and it appears
to be the way of the future.

<http://pear.php.net/manual/en/core.db.php>

FWIW, the author of the PHP Developers' Cookbook (Sams) did all of the
database examples using PEAR syntax.

Of course, I've not made the switch over yet so take my advice with a grain
of salt.

Hope it helps.

Sincerely,

Paul Burney
http://paulburney.com/

<?php

If ($your_php_version < 4.1.2) {

    upgrade_now();  // to avoid major security problems

    /* Please see <http://security.e-matters.de/advisories/012002.html> */

?>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to