Problem in SQL Statement

When I change my code to separate html and php code and I used template and config which is not my code . I got a lot of problems and error. And sad to say I have no rights to edit or change the code in template and config sender and also I cannot dispplay those code here in forum.

SELECT COUNT(
Emp_ID,
Last_Name,
First_Name,
Birthday)
FROM
machine_problem_rhoda
query error: 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 '
Last_Name,
First_Name,
Birthday)
FROM
machine_pr' at line 2

I tried to search in internet regarding this error and I cant find the answer to sove my problem.:confused:

I hope somebody can help me..because I dont have any companion only forum

the COUNT() function only excepts on parameter or * and the key word DISTINCT with that one parameter. The parameter is the column name. Your trying to use this function on more then on column and it does not allow more then one column as its param. Since your using this on one table just use

If your using what I wrote as the config feel free to change it,add to it etc... That was simply a demo so you could get the overall idea of what needs to be done. I still recommend using the propel CRUD for this or maybe just using codeignitor framework for RAD(rapid application development) purposes.