You are here: Re: How to use MySQL from PHP ? « PHP Programming Language « IT news, forums, messages
Re: How to use MySQL from PHP ?

Posted by Jerry Stuckle on 01/04/08 18:22

Jonas Werres wrote:
>> Sure there is. Sometimes you don't need the newer extensions. And,
> And you will never need new PHP-versions. Sure. Then it's best to save one
> letter.
>
>> being basically wrappers for the C function calls, the mysql_ calls are
>> faster and require fewer resources. This can be important in busy
>> systems.
> Zend does not agree:
> "Greater speed. Enhancements in both the extension and in MySQL have made
> most operations faster, with certain operations becoming up to 40 times
> faster as compared to ext/mysql."
> http://devzone.zend.com/node/view/id/686
>
>> I use both, depending on the needs.
> What needs?
>
>

Well, that differs with some of my tests. But then they say "Most
operations". They don't talk about the extra overhead (memory and
processing) of the objects themselves.

It depends on the program. Sometimes I find the mysqli_ interface works
better in the program, sometimes the mysql_ interface. It depends on a
lot of factors in the scripts.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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