07-11-2009, 09:56 PM
|
#4 (permalink)
|
|
The Contributor
Join Date: Oct 2008
Location: UK
Posts: 30
Thanks: 0
|
Actually in this instance the if statement is checking to see if the variable is not set. So if the form has not been submitted then the form will be displayed. Similar to what you said but slightly different. :)
PHP Code:
if (isset($variable)) //if the variable is set if (!isset($variable)) //if the variable isn't set
Hope that helps :)
Edit: Yeah, sorry what you said, mis-read it.
|
|
|
|