denny911 Posted August 26, 2007 Share Posted August 26, 2007 Helloi'm wondering if it is possible to do some kind of a sort here:for($i=1; $i<=50; $i++)in a way that the output is reversed, that is FROM 50 to 1 ?!?i'm pretty sure that there are other ways, but i need this one with FOR, because i want to be able to just add new images to my gallery folder and have NEWEST PICS to be displayed FIRST (they're numbered from 1 to xxx). Hope you know what my intention is..! :)Thanks in advance!Denis K.Bosnia H. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 26, 2007 Share Posted August 26, 2007 for($i=50; $i >= 1; $i--) Link to comment Share on other sites More sharing options...
denny911 Posted August 28, 2007 Author Share Posted August 28, 2007 Thanks a lot! That worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.