Quote:
Originally posted by fris
i just woke up. :/
but i might as well post this while i am here.
i have been battling this silly php code for a day or two, so you coders, what the code does, it grabs say all the contents from /videos dir and is suppose to display results on a page linkable of course i have that no problem that is the easy part. but i have about 1000 videos in the directory. i know i have to use offset for this piece of code. i want so every 20-30 links hit next/prev to goto a new page with the next 20-30 links of videos. but i want to do it without using mysql? is that possible? any php people let me know. never really worked with offset before. been looking cant find any examples without mysql.
|
i'm pretty sure you just have to fill an array, sort it and pull the appropriate chunk of entries out