Reply to Re: prev / next scripting problem

Your name:

Reply:


Posted by Martie on 07/06/06 23:45

On 6 Jul 2006 15:32:29 -0700, dawnajene@yahoo.com wrote...
>
>I adopted some script which allows me to fetch results and parse them
>into pages, with links to the previous or next set of results.
>
>However when I try to click on the next set of results, the entire
>database is displayed from the very beginning.
>
>Where could I post this code for help in debugging? Thanks.
>


There might be a couple of ways to control the results. You may be able to limit
the range in your SQL query if you had a number, like a primary key, to refer
to. You can pass that along using the "get" form method and modify your query
each time depending which next or prev link you click.

Another way may be the get the full result each time, but store the results into
an array rather than directly to output. From there you can order and organize
route results and control the output.


Martie


--
Newsguy.Com - Basic Account - $39.95 / year
http://newsguy.com/overview.htm

[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

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