Menu
I have a form that has the action of “update_question.php”. That php file adds the form data to my database.
However, I want to validate the email address. I have code for that in the form of a function. Can I call that function in the middle of my form? Or should I wait till the form is submitted and call it from “update_question.php”. I’d prefer to call it from my form, but just not sure how to do it.
Thanks!