Connecting PHP source code and submit form to MySQL Database

后端 未结 4 2043
北海茫月
北海茫月 2021-01-06 04:08

I\'m trying to learn PHP and I\'m trying to connect a MySQL database with my PHP code to make a submit form that lets me input data into the database. My problem is that the

4条回答
  •  悲哀的现实
    2021-01-06 04:19

    You can find the POST data in PHP's $_POST variable. It should hold all the values that were passed via the POST method.

    $name = $_POST["name"];

提交回复
热议问题