RE: [PHP] Simple: Whats wrong with this?
| From: | Shane McBride | Date: | Wed, 17 Mar 2004 17:05:43 +0000 |
| Subject: | RE: [PHP] Simple: Whats wrong with this? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180693@lists.php.net to get a copy of this message | ||
It doesn't seem to work either way for me.
Shane
-----Original Message-----
From: Jake McHenry [mailto:linux@nittanytravel.com]
Sent: Wednesday, March 17, 2004 12:01 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Simple: Whats wrong with this?
> No.
>
> $correct++;
>
> Is all you need for the second condition, it automatically sets itself
> back.
>
Does this always work? In my timesheet app, I have to do $counter = $counter
+ 1, because for some reason the $counter++; doesn't work. It just doesn't
work, no incrementation of the variable. Is there something in php.ini that
can prohibit this from working?
Thanks,
Jake
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php