[Switched to plain text for Lars' sanity]
This is the one I generally use as a codebase:
It uses the "Prev 1 2 3 4 5 Next" format, but if you're getting a *lot* of
results, you should probably just stick with "Prev - Next" (just comment out the
sequencing code), or add in something to limit the numbers returned.
From: webdev-admin at linux.ie [mailto:webdev-admin at linux.ie]On Behalf Of Anton Mc
Sent: 04 September 2000 10:59
To: webdev at linux.ie
Subject: [Webdev] PHP + Mysql Programming Question
I was wondering how to do the following.
I have a script that pulls data from a mysql database. Everything works really
well and it is quite fast. However there can be loads of results. How do I get
the first 10 results and then print a nice button to fetch the next ten results.
Also is there any way of just getting the first bit of data from a textblod eg
the first paragraph instead of fetching the whole lot?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!