diff --git a/datatable/ssp.class.php b/datatable/ssp.class.php index f27c4f1..0d49e43 100644 --- a/datatable/ssp.class.php +++ b/datatable/ssp.class.php @@ -234,7 +234,7 @@ static function filter ( $request, $columns, &$bindings ) /** * Perform the SQL queries needed for an server-side processing requested, - * utilising the helper functions of this class, limit(), order() and + * utilising the helper functions of this class, limit(), order() and * filter() among others. The returned array is ready to be encoded as JSON * in response to an SSP request, or can be modified if needed before * sending back to the client. @@ -401,7 +401,7 @@ static function sql_connect ( $sql_details ) { try { $db = @new PDO( - "mysql:host={$sql_details['host']};dbname={$sql_details['db']}", + "mysql:host={$sql_details['host']};dbname={$sql_details['db']};charset=UTF8", $sql_details['user'], $sql_details['pass'], array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION ) diff --git a/index.php b/index.php index 170561a..c8291c1 100644 --- a/index.php +++ b/index.php @@ -75,53 +75,93 @@
ลำดับที่ | -โครงการ | -กลุ่ม/งาน | -วันที่ | -เกียรติบัตร | -
---|---|---|---|---|
- | - | - | - | - |