In the function function sql_connect ( $sql_details ) under ssp_class, the script will not work for non utf8 character. I have to solve this by adding charset=utf8mb4 to the $db definition
"mysql:host={$sql_details['host']};dbname={$sql_details['db']};charset=utf8mb4"
In the function function sql_connect ( $sql_details ) under ssp_class, the script will not work for non utf8 character. I have to solve this by adding charset=utf8mb4 to the $db definition "mysql:host={$sql_details['host']};dbname={$sql_details['db']};charset=utf8mb4"