Raised This Month: $ Target: $400
 0% 

Instead of the loop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yl2401
Member
Join Date: Nov 2011
Old 08-10-2014 , 06:16   Re: Instead of the loop
Reply With Quote #1

Quote:
Originally Posted by Backstabnoob View Post
So if you want to list the latest 5 entries, do for ( new i=max-5; i < max; i++) or do a decrementing loop to start from the end?
THANK YOU! But I want to show the latest one to the first item in menu, show the second one to the second item in menu, and so on. So how to do a decrementing loop?

Last edited by yl2401; 08-10-2014 at 06:18.
yl2401 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode