Important alert: (current site time 7/15/2013 9:51:52 AM EDT)
 

winzip icon

Nasa Paging

Email
Submitted on: 9/2/2002 5:18:48 AM
By: Nasarudin Abdullah  
Level: Beginner
User Rating: By 23 Users
Compatibility: PHP 4.0
Views: 23731
(About the author)
 
     To display records by paging using php and mySQL. I hope it could help. Do not hesitate to email me if you need to do so.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
9/23/2002 8:00:32 AM

Great Abdullah !

Simple, but exactly what i'm looking for ...
(If this comment was disrespectful, please report it.)

 
9/25/2002 4:17:40 PMDarryl Porter

Abdullah, I'm using your script in a program I'm working on--Having a problem. I used your script exactly as your wrote it, I've only replaced the page reference with my own (ie--/*echo "Last";*/). The problem is that when the listings are returned and I click on the page number, it doesn't take me to the next page of listings, it only shows me the same listings that are on the current page. Please Help!!!!
(If this comment was disrespectful, please report it.)

 
1/24/2003 5:32:34 PMnetmastan

Salam. Excellent coding. I havn't checked it yet. It looks awsome.

Jazakum Allah Khairan

(If this comment was disrespectful, please report it.)

 
2/26/2003 2:08:43 PM

Nasarudin perfect!

I just have a problem, I change all the functions of MySql for MsSql and it works' but don't give me the detail for each page...what happend? help me please, thank's

bye
(If this comment was disrespectful, please report it.)

 
6/9/2003 4:00:37 AMAmir

cayalah, terel ko yek buat mende nih! weh, kasik aa tutorial sket pasal cemane ko buat mende nih.
(If this comment was disrespectful, please report it.)

 
8/20/2003 1:42:19 PM

I found the $PageSize will cause some problem if result set is big. Can you add a max list page parameter so that you can show Page 1 - 10 for every page instead of using Page 1 - $pagesize?
(If this comment was disrespectful, please report it.)

 
2/4/2004 6:39:12 AMHohl David

Super simple code (5 points)

David
(If this comment was disrespectful, please report it.)

 
10/1/2004 4:05:39 AM

Good coding.. have spent few days for paging code and u certainly made my day!!!! keep up the good work!
(If this comment was disrespectful, please report it.)

 
10/1/2004 4:27:08 AM

Good one, but how come my first, previous and last button dont show?
(If this comment was disrespectful, please report it.)

 
12/23/2004 1:28:50 AMSandeep thakur

Nice work, keept it up :)
(If this comment was disrespectful, please report it.)

 
9/11/2006 4:36:23 AMAlisa

I like this code very much...
thanks
(If this comment was disrespectful, please report it.)

 
1/2/2010 3:50:17 AMDwi Wahyudi

I like this one...
(If this comment was disrespectful, please report it.)

 
3/5/2011 11:38:46 PMgreat abdullah

I used the code that you upload here in this website and i've like it
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.