|
Posted by james on 11/05/07 08:20
On Nov 4, 1:51 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> macca wrote:
> > Hi,
>
> > What should I be using for general MySQL database access? I've been
> > using the traditional mysql extension for ages, but I'm trying to
> > update my style to a more OOP paradigm.
>
> > I've used PDO briefly but I've not used the mysqli extension yet.
> > I've read a bit about it though, seems good and more OOP orientated
> > (for the most part). But PDO seems more generic and transferable.
>
> > Any comments?
>
> > TIA
>
> If I'm going to be using only mysql, I use the mysqli classes. I like
> the way they're designed and it has less overhead than PDO.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
I've written my own database class using PHP's mysql functions, rather
than using mysqli, and I've added functions to automatically get,
insert and update. In the end, it's a lot faster than the built-in
mysqli, and it didn't take long to write.
[Back to original message]
|