Reply to ReOrder result set, Save a trip to DB/Srv

Your name:

Reply:


Posted by awebguynow on 09/01/06 21:48

I've been using Pear::DB
http://pear.php.net/reference/DB-1.7.6/

I don't know what the best sorting options are; Sure you could
re-query the DB ('order by').

I suppose you could place the $RS in a multi-dim array (in Session) and
re-sort that.

If you could do it all on the client side, that would be impressive
too. Here's 1 model:
http://kryogenix.org/code/browser/sorttable/

pretty nifty, although I see there are assumptions for date formats
that aren't consistent with standard MySQL dates: yyyy-mm-dd

Before I reinvent the wheel, has anyone done resorting or is there an
easy way ?

[Back to original 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

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