Error in query: update blogs set most_viewed = most_viewed + 1 where id = food-behaviour-is-your-childs-behaviour-linked-to-the-food-they-eat. 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 'is-your-childs-behaviour-linked-to-the-food-they-eat' at line 1