function get_log_peserta_view($table, $joinKey, $primaryKey, $columns) { $config = new config(); $sql_details = $config->sql_details(); require 'ssp.class.php'; echo json_encode(SSP::simpleJoin($_POST, $sql_details, $table, $joinKey, $primaryKey, $columns)); }