HTML/PHP - default input value

前端 未结 10 1335
梦如初夏
梦如初夏 2020-12-11 16:48

I have a post php form and a set of inputs:

  1. Your Name
  2. Your Last Name
  3. My Name

Every input looks the same, only the names change

10条回答
  •  萌比男神i
    2020-12-11 17:26

    This is How I solved this issue in my problem which I believe is similar, when $_POST is read the value is populated from the $_POST value else sets a default of Mike

    value="" >
    

    Hope this helps someone oneday

提交回复
热议问题