HTML/PHP - default input value

前端 未结 10 1320
梦如初夏
梦如初夏 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条回答
  •  旧巷少年郎
    2020-12-11 17:39

    Since value is the default, just add a condition around your get_option-function, maybe something like this:

    
    

提交回复
热议问题