DB: mySQL
I'm trying to sort all employees in a mysql-database. I'm having a bit of trouble with my SQL-query...
$tm_men = "SELECT * FROM initemp WHERE Kjønn="M" GROUP BY Ansattnr";
I'm wondering if I have to write the (Kjønn="M")-part in another way to make it work in php. This is my error message:
Parse error: parse error, unexpected T_STRING in /mnt/has/www/oracle/cyrus/stat.php on line 26
It works in mySQL-Front....
a little help would be appreciated...
cyrus😃