House Full of Games:
// inventory at ALL locations at this value or lower gets reported as low $low_stock_count=6; // initialize values to default values $name=""""; $code=""""; $price=""""; $sale_price=""""; $orderable=true; $out_of_print=false; $preorder=false; $special_order=false; $used=false; $taxable=true; $ship_weight=""""; $in_stock=0; $eta=NULL; $description=""""; $components=""""; $made_in=""""; $bggid=0; $age_min=""""; $player_min=""""; $player_max=""""; $playing_time=""""; $rating=""""; $url=""""; $genres=array(); $suppliers=array(); $authors=array(); if ($id != 0) [object] $query = ""SELECT * FROM inventory WHERE id="".$id.""""; $result = do_query($query); if ($result) [object] $query = ""SELECT * FROM details WHERE id="".$id.""""; $result = do_query($query); if ($result) [object] $query = ""SELECT name, genre.id FROM genre_to_item, genre WHERE genre_to_item.id="".$id."" AND genre_to_item.genre = genre.id ORDER BY name""; $result = do_query($query); if ($result) [object] } if ($in_stock 0) $sp