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?
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?
See the docs: https://www.w3schools.com/tags/att_input_value.asp. The value attribute cannot be used with <input type="file">