You are here: Re: Should I use mysql, mysqli or PDO? « PHP Programming Language « IT news, forums, messages
Re: Should I use mysql, mysqli or PDO?

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация