Guest snageshbabu Posted April 4, 2006 Share Posted April 4, 2006 how can we display images 10 per page after getting from database Link to comment Share on other sites More sharing options...
manojdubey Posted April 4, 2006 Share Posted April 4, 2006 You will have to control this in you programming language where you will have to count the resultset iterations and for each page click you will have to control it differently.Ex.For first page run it for 10 timesfor second page first move it 10 records and then read next 10 record and so on.what you can do in javascript is the to count the total no. of records initially and based upon that find the no. of pages for whom links are to be created and for each click store its page no value so that based upon that you could make dry runs on next page.Also you can get selected rows if your PL support like as in java.Thanks.Manoj Link to comment Share on other sites More sharing options...
Little Goat Posted April 6, 2006 Share Posted April 6, 2006 only one thing to say:http://www.dynamicdrive.com/dynamicindex4/php-photoalbum.htmLG Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now