i use the following statement but it does not working properly.
$query = "select * from employee where status ='Active' and employee_id! ='".$data['employee_id']."') and (first_name like '$data%' or last_name like '$data%' or batch like '$data%' or job_title like '$data%' or company like '$data%' ORDER BY first_name";
$result = mysql_query($query);
Like i need to fetch all result but not employee_id=5; but i get the employee_id=5 result;is there any issue in query and other simplest way to use this query