Current location: Hot Scripts Forums » Programming Languages » PHP » MySQL - dividing into pages


MySQL - dividing into pages

Reply
  #1 (permalink)  
Old 10-04-04, 10:45 AM
ICE Flame ICE Flame is offline
Newbie Coder
 
Join Date: Mar 2004
Location: Israel
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
MySQL - dividing into pages

Hello,
I have a MySQL database, and I'm using the SQL query "SELECT * FROM tbl" to draw the records from it.
I would like to divide the results into pages, with 15 results per peage.
The problem is I want it to look like "page1, page2" and so on, and NOT something like "Next page, Previous page".
How am I doing it?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 10-06-04, 03:19 AM
ICE Flame ICE Flame is offline
Newbie Coder
 
Join Date: Mar 2004
Location: Israel
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
UP

Please help me
Reply With Quote
  #3 (permalink)  
Old 10-06-04, 03:57 AM
moronovich moronovich is offline
Junior Code Guru
 
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
check your pm
__________________
just an ignorant noob with moronic solution...
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
How can I protect pages using MySQL and PHP? laxy_m PHP 4 10-26-04 01:35 AM
can i simply these two pages in 1? (mysql query) APuppyDog PHP 4 09-30-04 01:49 PM
MySQL SELECT query result dividing ICE Flame PHP 1 06-06-04 02:50 PM
dividing pages in PHP Gordon Freeman PHP 2 02-07-04 07:44 AM


All times are GMT -5. The time now is 04:34 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.