I have a table with some text and text is greek letters, when i use sql tool and select the data from this table is showing correctly
try the following:
after you connect to the mysql, do this query to make sure that you are using UTF8:
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET 'utf8'");
make sure that in HTML (head) you are using the right encoding, try:
if this does not help, try different encoding, like ISO-8859-1