PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
More than likely one or more of the variables used in the query contain a '. You'll need to (and you should be), using mysql_real_escape_string() to ensure that your application works and is secure from SQL injection.