You are here: Re: [SMARTY] direct way to handle mysql result sets (via resource id) with smarty « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] direct way to handle mysql result sets (via resource id) with smarty

Posted by Erich Beyrent on 05/02/05 20:25

Jörg Hermsdorf wrote:
> Well, I'm not only looking for a simpler syntax.
> Think of an result set with 15 columns and 2000 rows.
> Considering memory and performance, I'm not sure if it
> is a good idea to create such an large array (15x2000
> fields) just to be able to display the result set
> using smarty... I'd prefer a solution without creating
> an array at all...

If you are dealing with a large array of that size, you are also going
to run into slowness when it comes time to render the data. This might
be better done as paged data, which will limit the size of your result
set and eliminate your memory concerns.

 

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

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