bunny1
03-10-2007, 10:26 AM
I have a form with a file field and i want the value of the field to be set to what is selected from the database to be displayed.
It only works when i change the type="text".
The variable gives the location of the file on the server.
The reason i want to it to be type="file" rather than "text" is i want them to be able to change the file if they want by clicking on "browse".
Here's the code i have
<input name="uploadedfile" type="file" id="uploadedfile" value=<?php echo $path; ?>>
It only works when i change the type="text".
The variable gives the location of the file on the server.
The reason i want to it to be type="file" rather than "text" is i want them to be able to change the file if they want by clicking on "browse".
Here's the code i have
<input name="uploadedfile" type="file" id="uploadedfile" value=<?php echo $path; ?>>