function get_table_group($table, $primaryKey, $columns, $where, $group, $dataArray) { $config = new config(); $sql_details = $config->sql_details(); require 'ssp.class.php'; echo json_encode(SSP::simplewheregroup($_POST, $sql_details, $table, $primaryKey, $columns, $where, $group, $dataArray)); }