by Hubert Chathi.
Your problem is that you are using single quotes to surround your query string, but you have single quotes within the string, so PHP can't parse it properly.
By the way, make sure you have developer debugging turned on, so that you get more detailed error messages.