I have a mysql database and I have a table called "user_job". In row "category" I have stored a phrase which is "Alpha - Αλφα". My code is :
<?php
$e = mysql_query("select `category` from `user_job` where `category`='$category' ");
$a = mysql_num_rows($e);
?>
It returns me 0 rows when I run it. If I remove "Αλφα" this greek word in greek character it works and returns me 1 row. What is the problem here and how to fix it. My table is set to "utf8_general_ci"