Thread: quick question
View Single Post
Old 07-11-2009, 09:56 PM   #4 (permalink)
Normo
The Contributor
 
Normo's Avatar
 
Join Date: Oct 2008
Location: UK
Posts: 30
Thanks: 0
Normo is on a distinguished road
Default

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.
Normo is offline  
Reply With Quote