Crazy Heart
01-04-2007, 07:04 PM
Hi everyone!
I have a problem with my site! it has Greek fonts, and although I've set the Collation from phpmyadmin (Operations) to Greek_general_ci, I keep getting this "?????" instead of greek fonts!
MySQL version is 4.1.21 and php version is 4.4.4
and another problem: I have this code
$dbquery = "SELECT classId, classname, moviename, equipment, classes.groupId, groupname FROM classes"
."INNER JOIN groups ON classes.groupId = groups.groupId where classId=".$cid." order by classId asc";
$res = mysql_query($dbquery, $dbid) or die(mysql_error());
and I get this You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by 'classId' asc' at line 1 :confused: :confused:
any ideas would be much appreciated!
thanks!
I have a problem with my site! it has Greek fonts, and although I've set the Collation from phpmyadmin (Operations) to Greek_general_ci, I keep getting this "?????" instead of greek fonts!
MySQL version is 4.1.21 and php version is 4.4.4
and another problem: I have this code
$dbquery = "SELECT classId, classname, moviename, equipment, classes.groupId, groupname FROM classes"
."INNER JOIN groups ON classes.groupId = groups.groupId where classId=".$cid." order by classId asc";
$res = mysql_query($dbquery, $dbid) or die(mysql_error());
and I get this You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by 'classId' asc' at line 1 :confused: :confused:
any ideas would be much appreciated!
thanks!