Skip to content
Advertisement

Calling a particular PHP function on form submit

I was trying to call a particular php function in submit of a form both the form and php scripts are in same page. My code is below.(it is not working and so I need help)

JavaScript

Advertisement

Answer

In the following line

JavaScript

the action should be the name of your script and you should call the function, Something like this

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement