HTML form submit to PHP script

前端 未结 6 1254
刺人心
刺人心 2020-12-10 11:51

I am making an HTML form. I want the results to appear in the PHP script.


Both your select control and your submit button had the same name attribute, so the last one used was the submit button when you clicked it. All other syntax errors aside.

check.php


Obligatory disclaimer about using raw $_POST data. Sanitize anything you'll actually be using in application logic.

提交回复
热议问题