getproducts.php works correctly