prepare("UPDATE spooler SET status = 2 WHERE task = 2 AND session_id = :session_id"); $req->bindParam('session_id', $_GET['session_id'], PDO::PARAM_INT); $req->execute(); header('Location: '.$config['baseUrl'].'spool_'.$_GET['session_id']); exit(); } ?>