This topic is locked

How to sort multiple files uploaded?

11/26/2014 11:56:33 AM
PHPRunner General questions
P
Programador GW author

I'm using "multiple files upload" and I'm storing the files (jpg images) at a directory in the server, and their names in a mediumtext field (mysql).

All of this is working fine, but I need to sort these files. Is there a way to order these stored files? I need to change the sequence inside that mediumtext field, or I need a way to put an index for each file. I could do one file per register and create a field to store an index, but I can't do this because my client uploads many files and is more practical do this in a single operation.

So, I would like to know if someone has a suggestion.

Thanks in advance.

(Sorry my poor language. I'm still learning english.)

Sergey Kornilov admin 11/30/2014

I'm not really sure I understand how you can sort filenames considering the fact that there might be multiple files inside that single record.