Follow Slashdot stories on Twitter


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


CyberKnet's Journal: PHP and Databases 3

Journal by CyberKnet

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 [] 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.

Technology is dominated by those who manage what they do not understand.