I cant figure out what is wrong whith this query (does it have to do with prioritya or priorityc
select *, DATE_FORMAT(a_date, '%m/%d/%Y') as a_date_formatted from company, activity where c_id=a_c_id and medivas ='$poc' and priority ='$prioritya' and priority ='$priorityc'
any ideas???