pankaj.ghadge
11-18-2008, 12:46 PM
Hello,
Suppose a directory contain 100 or more file and i want to display only 5 file link in first page. Then i can use pagination to move between these file listing.
e.g These are the link to file. when user will click on these link then he/she will see the file contain.
file1.txt
file2.txt
file3.txt
file4.txt
file5.txt
1 2 3 4 5 Next
I want the solution like this .......
Another problem is i want sort the file date wise or by name wise
listing will be like this
data of file creation || files
2008-11-12 | | file2.txt
2008-11-13 | | file1.txt
2008-11-14 | | file3.txt
2008-11-17 | | file4.txt
2008-11-18 | | file5.txt
1 2 3 4 5 Next
when user will click on date link then listing will be sorted by date .
when user will click on file link then listing will be sorted by file name.
Is this possible ...........................
please tell me the solution.........................................
Suppose a directory contain 100 or more file and i want to display only 5 file link in first page. Then i can use pagination to move between these file listing.
e.g These are the link to file. when user will click on these link then he/she will see the file contain.
file1.txt
file2.txt
file3.txt
file4.txt
file5.txt
1 2 3 4 5 Next
I want the solution like this .......
Another problem is i want sort the file date wise or by name wise
listing will be like this
data of file creation || files
2008-11-12 | | file2.txt
2008-11-13 | | file1.txt
2008-11-14 | | file3.txt
2008-11-17 | | file4.txt
2008-11-18 | | file5.txt
1 2 3 4 5 Next
when user will click on date link then listing will be sorted by date .
when user will click on file link then listing will be sorted by file name.
Is this possible ...........................
please tell me the solution.........................................