ballhogjoni Posted June 28, 2007 Share Posted June 28, 2007 Example would be: prev 12345 next but doing this with just files and not DB records? Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted June 28, 2007 Share Posted June 28, 2007 Yes, If your files are named in some sort off array function you can test if files exsist with the is_readable() and then sort the actual files with arrays and paganition from there Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted June 28, 2007 Author Share Posted June 28, 2007 I am a noob at pagination, can you send some code or a tutorial my way? Thx Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted June 28, 2007 Share Posted June 28, 2007 show me how your files are named? Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted June 28, 2007 Author Share Posted June 28, 2007 they are all name differently, with a php exstension. ex: 123.php xxxsdkjsdf.php 83jsd9sdl23.php of course these are examples and not the real file names, but you get the point. There is no flow to the file names. Quote Link to comment Share on other sites More sharing options...
no_one Posted June 28, 2007 Share Posted June 28, 2007 You can use glob(..) to get files in a folder, if that's what you're looking for. It will return then as an array, processing them however you want is then up to you. Quote Link to comment Share on other sites More sharing options...
ballhogjoni Posted June 28, 2007 Author Share Posted June 28, 2007 glob() is freeking sweet thanks!!! 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.