editing image by using input file type
I made a simple editing for to edit data in mysql, everything works fine except when I want to edit an input file type image it doesn't work, it doesn't give an error message it just doesn't edit anything and when I remove the input file type image it works. and by editing an image I mean entering a new image the will replace the old image. here is my code: <?php require("db.php"); $id = $_REQUEST['theId']; $result = mysql_query("SELECT * FROM table WHERE id = '$id'"); $test = mysql_fetch_array($result); $name = $test['Name'] ; $email = $test['Email'] ; $image = $test['Image'] ; if (isset($