echo ''.$pathImg.'photos\img_prod\\'.$row["image"].'';
donne
D:\inetpubhosts\brodepromochic.com\httpdocs\photos\img_prod\85.JPG
echo $pathImg.'photos\img_prod\\'.$row["image"];
donne
D:\inetpubhosts\brodepromochic.com\httpdocs\photos\img_prod\85.JPG
jai fais un test en écrivant le chemin dans la fonction comme ceci
$delete_file=unlink('D:\inetpub\vhosts\brodepromochic.com\httpdocs\photos\img_prod\\'.$row["image"].'');
plutot que comme ceci
$delete_file=unlink(''.$pathImg.'photos\img_prod\\'.$row["image"].'');
sa fonctionne mais cest pas pratique