echo my form values on php

后端 未结 2 1988
时光取名叫无心
时光取名叫无心 2021-01-24 05:16

Am using the code below in order to print the values that am inserting on the boxes. However After I put the values and click submit nothing is printing out.

<         


        
2条回答
  •  伪装坚强ぢ
    2021-01-24 06:03

    There is no HTML element with the attribute name 'submit' exists.

    Replace with .

    Don't ever use isset($_POST['submit']) as it is considered to be a bad practice.

    Instead you can use !empty($_POST). Doing it this way is considered to be safe.

提交回复
热议问题