Jump to content

Last 100 files.


outlawstar223

Recommended Posts

That is a good start, I understand what they are doing by putting the date in an array and then sorting the whole array. The reason I did not want to take that approach was because there could be thousands of files and I think that might be a performance problem. I was hoping of a more concise solution.

Link to comment
Share on other sites

Unfortunately scandir will not work for my needs.

 

Regarding the database, unfortunately it was not implemented that way although that is the way it should have been implemented.

 

So it seems that the only way is going to have to put  the name and date in arrays and sort it that way. Please if anyone has another option I would be vert thankful.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.