LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] PHP + Mysql Programming Question

[Webdev] PHP + Mysql Programming Question

adam beecher adam at iewebs.com
Mon Sep 4 12:03:34 IST 2000


[Switched to plain text for Lars' sanity]

This is the one I generally use as a codebase:

http://px.sklar.com/code.html?code_id=296

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.

adam


-----Original Message-----
From: webdev-admin at linux.ie [mailto:webdev-admin at linux.ie]On Behalf Of Anton Mc
Kee
Sent: 04 September 2000 10:59
To: webdev at linux.ie
Subject: [Webdev] PHP + Mysql Programming Question


Howdy all,

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?


Thanks
Aj





More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell