How to keep text inserted in a html <textarea> after a wrong submission?

后端 未结 4 589
温柔的废话
温柔的废话 2021-01-27 01:27

Suppose I have a form like this:

Section1:
Sec
4条回答
  •  无人共我
    2021-01-27 01:59

    You would put it inside the

    However, calling the $_POST element directly is not best practice. You should rather do something like this:

    
    

    This stops an E_NOTICE error from being reported upon the first page-load.

提交回复
热议问题