Tom743 0 Report post Posted May 18, 2008 Ive got this small php script that makes the numbers count up. <?phpfor($num = 1; $num <= 10; $num++) {echo "Number: $num<br>";}?> Is there any way it can be changed so that the numbers count down?Thanks Share this post Link to post Share on other sites
rvalkass 5 Report post Posted May 18, 2008 Change ++ to -- and switch the numbers round: <?phpfor($num = 10; $num >= 1; $num--) {echo "Number: $num<br>";}?> Share this post Link to post Share on other sites