voyde Posted August 30, 2007 Share Posted August 30, 2007 Hi, I am in the process of making a site but cannot figure out how to make a file list from a directory, with pages? There is no database of these files. Any thoughts? Or at least a show ten random files? Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 30, 2007 Share Posted August 30, 2007 http://www.google.com/search?q=php+list+files+in+a+directory Quote Link to comment Share on other sites More sharing options...
voyde Posted August 30, 2007 Author Share Posted August 30, 2007 I have tried all those, did you read all of my question? I need pages out of them! (with no database) Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 30, 2007 Share Posted August 30, 2007 What do you mean you need pages out of them? Quote Link to comment Share on other sites More sharing options...
voyde Posted August 30, 2007 Author Share Posted August 30, 2007 Pages, For example I have 202 files in a given folder, how can I make each page have ten? And if thats not possible how would i go about showing the latest ten. Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 30, 2007 Share Posted August 30, 2007 That's called "pagination" - google it. There are some tutorials on here about pagination. Apply it to your script. Quote Link to comment Share on other sites More sharing options...
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.