$news = @mysql_query("SELECT DISTINCT LEFT(contents.ctitle, 60),contents.ctext, contents.id, DATE_FORMAT(contents.ctextdate, '%d/%m/%Y') as date FROM contents, category, contentcategory WHERE contents.id=contentcategory.contentid AND category.id=contentcategory.categoryid AND contents.lang='gr' AND category.name='press' ORDER BY contents.ctextdate DESC LIMIT 3");
$num = mysql_num_rows($news);
while ($n= mysql_fetch_array($news)) {
$title = $n['LEFT(contents.ctitle, 60)'];
$date = $n['date'];
$id = $n[2];
if (strlen($title) == 60) {
$title .= "...";
}
...more code....
When the contetns are in english there's no problem, but when they are in greek language, just before those ... added, some othe characters are added as well. Can anybody suggest a solution for this problem? Thanx!