Unable to connect php and html file

前端 未结 6 746
野性不改
野性不改 2021-01-29 12:53

i have added action value Registration file

  

Electronic Montessori Learning

6条回答
  •  执念已碎
    2021-01-29 13:28

    If on clicking the Register button , php code appears on the page , then most probably it has nothing to do with your code. Please check if you are directly double-clicking the html file for your testing . Please execute it by entering the localhost page address in the browser instead.

    Eg : http://localhost/registration.html

    Now the HTML should be able to execute the PHP code. And your folder containing html and php file should be in XAMPP->htdocs.

提交回复
热议问题