Jump to content

Another question..


tcorbeil

Recommended Posts

You can not call a php function from an html form.  The action attribute should be equal to the name of the page that the form is submitted to.

 

php is server side.  Html is client side.

 

If you want to validate a form client side (using the onsubmit attribute of the form) use javascript.

Link to comment
https://forums.phpfreaks.com/topic/45712-another-question/#findComment-222060
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.