So I'm pulling a bit of info from a database, all is good untill I try this code: <input type="file" name="file1" value="'.$row['file'].'" /> When I go to my page, if I view the source $row['file'] executes, but the value of the box when I'm looking at the box is empty. $row['file'] = files/local/test.gif
if(isset($_POST['edit'])) { $id = $_POST['id']; $q = mysql_query("select * from files where id = '$id'") or die(mysql_error()); if(mysql_num_rows($q) == 0) { echo 'Game don\'t exist yo\''; } else { $row = mysql_fetch_array($q); echo '<form name="update" action="'.$_SERVER['REQUEST_URI'].'" enctype="multipart/form-data" method="post"> Name:<br /> <input type="text" name="name" value="'.$row['name'].'" /><br /> Description:<br /> <input type="text" name="description" style="width: 300px; height: 100px;" value="'.$row['description'].'" /><br /> Movie File:<br /> <input type="file" name="file1" value="'.$row['file'].'" /><br /> Image File:<br /> <input type="file" name="file2" value="'.$row['thumbnail'].'" /><br /><br /> <input type="submit" name="update" value="Submit" /> '; } } PHP: