I'm checking it with if ($_POST["submit"])
but of course if they didn't, it's trying to access a variable that doesn't exist. However, I was using this check to see if it did exist in the first place, but PHP outputs the error for me.
Is that... okay? I'm not doing anything with it, I'm just checking if it's there. Or is there a better way to do it?
Same thing with my radio buttons. If they hit submit I check to see their values, but if they hit submit without pressing any I get an error.