prepare("SELECT * FROM users WHERE id = :id"); $q->bindParam(':id',$id,PDO::PARAM_INT); $q->execute(); $requestUser = $q->fetch(); if(!$requestUser) { die("go fuck yourself (no id"); // todo: redirect to 404 } $getitstarted = new PartyStarter; $getitstarted->header(); ?>
thats all