makeQuery('table',$persistent); // the selected data $myData = json_decode($_GET['data']); // the filters to include if(isset($myData->incfilters)){ $myfilters = $myData->incfilters; } else { $myfilters=null; } // if all posible values are included, get them from the db for($i=0;$ivalues) && $myfilters[$i]->values=='all'){ $temp = $controller->getFilterData($myData->table,$myfilters[$i]->name); $myfilters[$i]->values = $temp['data']; } } ?> choromap