this item is called
with id
and he costs $
thats all i have to say
prepare("SELECT * FROM catalog WHERE id = :id"); $q->bindParam(':id',$id,PDO::PARAM_INT); $q->execute(); $item = $q->fetch(); if(!$item) { header('location: /error?err=404'); exit; } ?>
header(); ?>thats all i have to say