I have a form variable I want to increment by a value of 1 each time the
page loads. Here's what I have so far:

if(!isset($correct)) {
        $correct = 0;
        } else {
        $correct = $correct++;
        }

Seems like it should work?

Thanks!
Shane

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

Reply via email to