I'm STILL unsure if you have the images stored in the database or in a folder. I won't be able to help until I know.
Hello Nico The images are in a directory and they have these names from first image to last: 01.jpg 02.jpg etc... in the database the img field (defined as txt) only have the name of the file that the database will call: record 1 loads the 01.jpg record 2 loads the 02.jpg and so on...
How can i sort the records from last to first? I want to show them from the last record (will be showed as first) to the 1st (will be the last)? I think this is this: SELECT * FROM table name ORDER variable. But is there a better way or this is the only one?
Add this at the end of the query. ORDER BY whateveryouwant DESC Code (markup): DESC can also be ASC, depending on the order you want.
everything seems to work. You are a pro in php. I have many php toturials but everyone dont say everything more easily. thanks again. if i have more questions i will ask