include_once("include/common.ini.php"); if(empty($btype)){ header("location:products.php"); } $product = $db->get_one("select * from product where id='$id'"); ?>