Hello Sam,

Wednesday, March 17, 2004, 5:04:21 PM, you wrote:

SM> This drove me nuts for a while and instead of doing $variable++ I
SM> started using ++$variable and never had the problem again.

Yes, that's a pre-increment operator. Quite different to a
post-increment. You need to use the right one depending if your
variable exists already, etc.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to