I was wondering if there was a faster way to pre-initialize variables (Or rather, avoid the warning messages without turning warnings off) than something like the following:
if(!isset($a))
$a = "";
if(!isset($b))
$b = "";
etc.
This gets particularly annoying when you have a form that you want pre-filled after a submit and failed validation, ex.
<INPUT TYPE="TEXT" NAME="TEST" VALUE="<?echo $test?>">
Anyone know a faster was to do this?