JavaScript versus PHP (not especially DW CC)
I have investigated for a long time (too long) on the net (StackOverflow e.g.) without any success. The question is asked by many people but no one among the proposed solutions helps me. So in desperation, I turn to this forum, even though DW has nothing to do with it.
< form id = "myForm" method = "Post " action = "updateMySQLGuests. php " onsubmit = "return formSubmit () ">
This boolean result function checks whether the value of the fields is correct before calling UpdateMySQLGuests.php (for example, verify if the e-mail contains a “@”) to create a record with the value of these form fields by POST method in MySQL. But "action= updateMySQLGuests.php " is executed before the formSubmit() function (which, in fact, is not executed at all). I work in localhost with Wampserver.
Thanks in advance for answer.
