Hello
at update form i have upload file and i want if it have value does not change
I used this code to upload at insert form
$lfile = basename( $_FILES['file']['name']) ;
$target_path = "files/";
$target_path = $target_path . basename( $_FILES['file']['name']);
if(move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) {
echo"file uploaded"
} else{
echo "There was an error";
}
any help