I've got a database with utf8_general_ci encoding, but when I fetch the data with php to the page it shows "????", what's wrong?
<?php
$query1 = "SELECT name FROM `kotegorii`";
$result1 = mysql_query($query1) or die(mysql_error());
echo "<h3>Категориялар</h3>";
while ($row = mysql_fetch_array($result1)) {
echo $row['name']."<br>";
}
?>
the code is written using the UTF-8 encoding also..