1

I have this code

<input name="GG" type="file" value="< ?php echo $data['image'] ?>">

I hope this can give default value in form edit, but it's not work. How to set default value in my input tag?

Samuel Liew
  • 76,741
  • 107
  • 159
  • 260
Irvan Irawan
  • 11
  • 1
  • 3

1 Answers1

0

See the docs: https://www.w3schools.com/tags/att_input_value.asp. The value attribute cannot be used with <input type="file">

aslantorret
  • 273
  • 4
  • 10