I'm making a site where users can upload pictures as many times as they want. If they already have uploaded a picture, the picture name shall be displayed in the file-box. Like this:
<?
//This variable is collected from a database
$pic1 = "test.jpg";
?>
<FORM name="memberForm" action="editmember.php" method="post" encType="multipart/form-data">
<INPUT type=file name=picture1 value='<?echo "$pic1";?>'>
</FORM>
The problem here is that the text in $pic1 is'nt displayed in the 'picture1' file-box. How can I make this work???
<?
//This variable is collected from a database
$pic1 = "test.jpg";
?>
<FORM name="memberForm" action="editmember.php" method="post" encType="multipart/form-data">
<INPUT type=file name=picture1 value='<?echo "$pic1";?>'>
</FORM>
The problem here is that the text in $pic1 is'nt displayed in the 'picture1' file-box. How can I make this work???
Comment