Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Note: You can take 10% off all Slashdot Deals with coupon code "slashdot10off." ×
PHP

Journal CyberKnet's Journal: PHP and Databases 3

Currently the new site is going to be using a MySQL back end, php middle-ground and apache serving up the pages.

I have found a multitude of very reliable, very helpful PHP/MySQL tutorials. The problem is that every tutorial uses the mysql_* functions. This is fine right now, but it's entirely possible that I might switch to postgresql/MSSQL/etc some time in the not-too-distant future if I have to change my hosting company.

I can write my own wrappers without too much difficulty (I think)... but is there a built-in or pre-rolled perl-like DBI for php? Not like as in syntactically, but like as in universal regardless of database?

Thoughts appreciated.

This discussion has been archived. No new comments can be posted.

PHP and Databases

Comments Filter:
  • Check out ADOdb [weblogs.com] when you have the chance. I've never worked with it, but it's what PostNuke uses for their database interaction, it is extremely portable (as you can see on their page) and it has been around long enough that most of the bugs have been worked out, as far as I can tell.

Adding manpower to a late software project makes it later. -- F. Brooks, "The Mythical Man-Month"

Working...