Home › Forums › Back End › Contact us php form doesn’t work › Re: Contact us php form doesn’t work
omg traq. my head is spinning. i changed php script to where ” comments” is a required field. as i figured that i had changed the script significantly enough by removing the “is not set”.
i did not have the comment section as a required field before, as i figured folks would be automatically filling that text area out….but maybe that was just a wrong assumption.
thanks so much for taking your time to explain it to me.
script seems to work now after i corrected the : died() to die() as AlenAbdula pointed out, made the comment field a required field and also, just while changing things up renamed function died($error) to function error_msg() .
again, thanks to all who took their time to help me.