When my webhost upgraded from PHP 4 to PHP 5, I had
to change this:
if (isset($button)) {
//do something
}
...to this:
if (isset($button) && $button!=NULL) {
//do something
}
1.) Can anyone explain why I had to do that?
2.) Does this have to do with PHP 5?
3.) Will all my isset functions need to be paired with a, "!=NULL" ??
4.) Is there a better way to do this?
The code for the form I used was:
<FORM METHOD="POST" ACTION="nextpage.php">
<INPUT TYPE="submit" NAME="button" VALUE="Submit">
</FORM>
Thank you!!