<?php
$con= mysqli_connect("localhost","root","","tree") or die("Error: " . mysqli_error($con));
mysqli_query($con, "utf8"); 
?>