In connection file add the following lines
$mysqli = new mysqli($hostname_###,$username_###,$password_###,$database_###);
$mysqli->query(“SET NAMES ‘utf8′”);
Attention in classroom
In connection file add the following lines
$mysqli = new mysqli($hostname_###,$username_###,$password_###,$database_###);
$mysqli->query(“SET NAMES ‘utf8′”);