Actualy itsfeyd wrote:>> if(submit)
If that's the name of your submit button, I wouldn't bank on it being there. Someone that hit's enter to submit the form will not pass the button. Instead, I'd either look at $_SERVER['REQUEST_METHOD'], and/or look for a field that is always unique to that specic post/get..
if ($submit)
thats called from
<INPUT TYPE="submit" NAME="submit" VALUE="Send">
its the NAME that is equal to $submit not the TYPE
so no matter what if someone hits enter within that form submit is the only thing there
Am i not right?