SELECT COUNT( gisforum_posts.post_id ) AS posts_count FROM gisforum_topics, gisforum_posts WHERE gisforum_topics.topic_title LIKE '% Probatoire I'Obsarvation d%' AND gisforum_posts.topic_id=gisforum_topics.topic_id
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 'Obsarvation d%' AND gisforum_posts.topic' at line 3