$i++ + string??

From: Date: Sun, 07 Oct 2001 02:41:34 +0000
Subject: $i++ + string??
Groups: php.general 
Request: Send a blank email to php-general+get-70264@lists.php.net to get a copy of this message
Hello :c) Can any one explain to me why this is not working?? $i = 1; while ($i <= 10) { echo "$i++ <br>"; } i is staying set to 1 (and it never ends :c) but this works: $i = 1; while ($i <= 10) { print("$i <br>"); $i++; } Thanks -- Merci Christian Charette www.charetx2.com

« previous php.general (#70264) next »