prepare("UPDATE hob_lieux SET description = ?, img = ? WHERE lid = ? "); $stm->execute([$desc,$img, $id]); header("Location: locdetail.php");