Calling a particular PHP function on form submit

后端 未结 6 1247
星月不相逢
星月不相逢 2020-11-28 22:11

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)

6条回答
  •  無奈伤痛
    2020-11-28 22:43

    If you want to call a function on clicking of submit button then you have
    to use ajax or jquery,if you want to call your php function after submission of form you can do that as :

    
    
    

提交回复
热议问题