Newbie question

From: Date: Sun, 14 Jul 2002 01:31:37 +0000
Subject: Newbie question
Groups: php.general 
Request: Send a blank email to php-general+get-107553@lists.php.net to get a copy of this message
I have just started to teach myself php so I am reading through several scripts to see how the language is "spoken". I came across the following at phpworld.com $i = 1; while ($i <= 10) { print $i++ Its a little script that counts from 1 to 10, but what does $i++ mean. What does the ++ do? Why ++ and not just one + Thanks -Jay

« previous php.general (#107553) next »