prepare("update holiday set filename = 'NILL' WHERE class =:odn"); $stmt->bindparam(":odn",$odn) ; //$stmt->execute(array(":odn"=>$username)); if($stmt->execute()) header("location: editho.php") ; }