well… obviously in the php script…
for example like this after creating the connection
$conn = new mysqli($DB_ADDRESS,$DB_USER,$DB_PASS,$DB_NAME);
mysqli_set_charset($conn, "utf8");
if($conn->connect_error){ ...
Taifun