[snip]
    A funny thing was happeng with a GET variable here, after testing it
with an if clause, it would be set to 1, like this, after that:

     if ( $_POST['nova'] =! "")

    $_POST['nova'] = 1... Is that alright?
[/snip]

GET (see your question) or POST....not that it matters.

if($_POST['nova'] != ""){
        $_POST['nova'] = 1;
}

will work (note the change of the "not equal to" operator)

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

Reply via email to