Hey... I own a game and on the game forum when a user tries to create a topic within the game forum they get an error. Well, After looking at all the errors each user got it was down to the use of a ' It was a syntax error: I have no idea how to fix this error as i'm a beginner when it comes to things like this. Here is the whole script of the "insert topic" script: Any help will be greatly appreciated. Thanks, NateJ
Please use mysql_real_escape_string to filter out unwanted symbols, as the 'I'm' is closing the field. So for example: $title = mysql_real_escape_string(strip_tags($_POST['title'])); Code (markup): And that for every variable your submitting into the table.