Okay, I have a page I'm putting together, where I want to see if a variable is defined... and if it is, then I want to skip past certian parts... here's what I'm trying to use
<?
if (!$_POST['numOfApps']) {
?>
and the error I'm getting:
Notice: Undefined index: numOfApps in c:\inetpub\wwwroot\apply.php on line 10
So, is there a better way to go about lookign for a variable?
Also, it seems when I POST, the first variable I post is lost somewhere in limbo... I found if I put a hidden input box in the first spot on my form, this solves the issue... but I'd like to know what's really causing it... any ideas?