Page 1 of 1
MySQL abstraction class
Posted: Tue Jun 17, 2008 12:57 am
by deeessay
Hi guys, anyone can direct me to a site where there is a mysql abstraction class? or maybe you can send me a tutorial? I want to create one from scratch, that way i might understand how it works. thanks in advance!
Re: MySQL abstraction class
Posted: Tue Jun 17, 2008 4:28 am
by lonelywolf
If you're running php5, you can use PDO or some extensions of pdo class? It's a great abstraction database class.
Re: MySQL abstraction class
Posted: Tue Jun 17, 2008 4:59 am
by deeessay
unfortunately, no. our company is planning to upgrade the php on the server but not anytime soon... so it's still php4. any idea where i can find a detailed tutorial explaining every functions in the class?
Re: MySQL abstraction class
Posted: Tue Jun 17, 2008 5:22 am
by onion2k
ADODB and ADODB Lite both work on PHP4. They're very good.
Writing your own is a waste of time to be honest, just use one of them.
Re: MySQL abstraction class
Posted: Tue Jun 17, 2008 9:58 pm
by deeessay
Thanks all for your help. I just might try downloading one if I still can't make one.
I just think that this is a good time as any to learn how to create my own mysql abstraction class.
Happy coding and good day!