$host="localhost";
$username = "root";
$password = "";
$database= "mydb";
$conn = new mysqli($host,$username,$password,$database);
// Hebrew char set
$conn->set_charset('utf8');
// Now you can edit and see your database using phpMyAdmin content in Hebrew