hi,
I am new here, and I have a problem when I was trying to build a contact form, pretty simple one, you know, just less than ten lines of php code and a basic html form, but when I add if(isset($_POST['submit'])) to the php code, it alarm as the 500 error, when I delete it, it works well, so, what's wrong with this.
I would be appreciate if anyone can help, thanks.
I am new here, and I have a problem when I was trying to build a contact form, pretty simple one, you know, just less than ten lines of php code and a basic html form, but when I add if(isset($_POST['submit'])) to the php code, it alarm as the 500 error, when I delete it, it works well, so, what's wrong with this.
I would be appreciate if anyone can help, thanks.