prepare("UPDATE hob_obj SET description = ?, depart = ? WHERE objid = ?"); $stm->execute([$desc, $depart, $id]); header("Location: objdisp.php");