prepare("SELECT * FROM catalog WHERE id = :id"); $q->bindParam(':id',$id,PDO::PARAM_INT); $q->execute(); $item = $q->fetch(); if(!$item) { die("go fuck yourself (can't find item)"); // todo: redirect to 404 } ?> header(); ?> <?php echo htmlspecialchars($item["name"]); ?> | <?php echo $sitename; ?>

yes i am still not hired to make html

this item is called

with id

and he costs $

thats all i have to say