tyv 0 Posted April 17, 2008 Report Share Posted April 17, 2008 Hi, I'm not sure if this one completely falls into the javscript territory. The website I am working on has a database of products. As of right now, settings can be changed so that a user can view a certain number of products per page (there is no limit). However, I want a "view all" option at the bottom of the page next to the page numbers (for instance, "Page 1, 2, 3, 4, 5... View All" ). Any suggestions on how I can start doing this? Any help is very much appreciated. Thanks. tyv Quote Link to post Share on other sites
Ingolme 1,034 Posted April 17, 2008 Report Share Posted April 17, 2008 If you don't even know if this is javascript then you must not be the one who's developed the application, so I don't know if you'll understand how to work this.This is in the field of PHP.You make a link to the page with a variable in it.<a href="?v=all">View all</a>and for PHP you do this:<?phpif($_GET['v'] == "all") {// Extract all the information from the database}?> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.