Closed ducnguyenhuy-agilityio closed 10 years ago
Please take a look at code below:
/* Build the query */ $requestor->products_field("cat_id", 4992); $requestor->products_field("brand", "Toshiba"); $requestor->limit(2);
/* Execute the query */ $results = $requestor->iterate_products();
echo $results; // Show 0 here
The results are there if I don't add limit param. Could you tell me what's wrong?
Please take a look at code below:
/* Build the query */ $requestor->products_field("cat_id", 4992); $requestor->products_field("brand", "Toshiba"); $requestor->limit(2);
/* Execute the query */ $results = $requestor->iterate_products();
echo $results; // Show 0 here
The results are there if I don't add limit param. Could you tell me what's wrong?