I use PHP to handle the file upload via HTML code like this:
...
...
$filename = $_FILES['filename']['name'];
...
...
<input name="filename" type="file" value="<?php $filename; ?>" />
...
...
However, after I submit the form, the file name in the file input box is deleted and I can't show the value again if the user input something wrong of the form. Would anyone tell me how I can show the file path in the input box again after the form is submitted?
Thanks.