Brief Description: This PHP function takes in a category as an argument and retrieves all the products from the database that belong to that category. The function then stores the products in an array and returns the array. This code example uses the MySQLi extension to connect to the database. Package/Library: This code example uses the MySQLi extension which is included in the PHP standard library.