Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

how to update type=file

These lines are in my update file. This one works. It echos the $row and i can change it or let it be.

<textarea  cols="25" rows="5" name="bio" ><?php echo $row['bio']?> </textarea> </tr></td>

Now my question is, how can i get the same thing work with an type="file" ?

<input type="file" name="img" accept="image/jpg,image/gif,image/png" /></tr></td>
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
183 views
Welcome To Ask or Share your Answers For Others

1 Answer

You cannot pre-fill the value of the file upload control (as a security precaution)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...