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 'A.CatId) and A.ClientId = B.Ident and Show_Ourwork=1 order by A.OrderId asc' at line 1
CHECK THE URL =>
select A.Ident,A.ProjectName,A.ProjectUrl,A.Show_Comment ,B.PFirstName,B.PLastName,B.CompanyName,A.Thumb_Path ,A.Enlarge_Path from tbl_projects A,tbl_client_profiles B where FIND_IN_SET(,A.CatId) and A.ClientId = B.Ident and Show_Ourwork=1 order by A.OrderId asc