if(!is_numeric($_GET['id'])) { exit("Error"); } $result = dbQuery("SELECT * FROM products WHERE record_num = '".(int)$_GET['id']."'"); if(!is_array($result)) { exit("Error"); } $row = $result[0]; if(!empty($row['redirect'])) { header("Location: ".$row['redirect']); exit(); } $title = $row['name']." - Impro Drzwi Wrocław"; $description = $row['description']; $pageClass = 'page-channel';
echo $row['text']; ?>
Cena: echo $row['price']; ?>