Hi,
Do you think I should isset($variable) before I can use it?
For example:
<? if(isset($POST['username'])){ ?>
<input class="form" type='text' maxlength='20' name='username' value="<? echo $POST['username']; ?>" />
or simply
<input class="form" type='text' maxlength='20' name='username' value="<? echo $_POST['username']; ?>" />
(This one will get an error if the error_report is on:undefined variable)
I wonder what is the benifit to check if the variable is set before use it? or just turn the error report off?
Any answer is highly appreciated!