I am trying to set an array using the entire column groupindex from my table wps_groups. I want to then use the $test variable to make calls to a vendor api see code below.
$groupProductResult = $wps->api(array(
"method"=>"product.getGroupProducts", //(required) The name of the method to call
"responseType"=>"HTML_OPTIONS", //(optional) could be PHP_ARRAY (default), HTML_OPTIONS, XML
"group"=>"$test", //(required) Single group to retrieve products from.
//"selectedProduct"=>"690-33092", //(optional) The part number to be selected.
//"productSort"=>"ALPHA_ASC", //(optional) could be ALPHA_ASC, ALPHA_DESC, DEFAULT (if not provided DEFAULT)
I am using a simple select statement to get the groupindex column from the table and have spent the entire day writing while and for loops to try to use this information as shown above. Nothing has worked out does anyone have any suggestions.