SELECT 
					mpa.*
				FROM 
					Media_Placements_All AS mpa
				WHERE 
					mpa.ID =  AND
					mpa.Is_Active = 1
					
             
media_placements_all_by_id - 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 'AND mpa.Is_Active = 1' at line 6