Hello i try to update the Image using Update Query in MySQL here's the code
$pic = $_FILES['photo']['name'];
$sql = "UPDATE `std_login` SET `imagename` = '$pic' WHERE `std_id_no` = '$std_id'";
the File upload works, but not Stored in Database. what to do? help me please.