Scipol Posted August 15, 2011 Posted August 15, 2011 When anyone types a ' a " or a \ in the game, it throws in two \ infront of it... so its \\' or \\" or \\\ .... i am at a loss... Quote
Kieran-R Posted August 15, 2011 Posted August 15, 2011 Remove mysql_real_escape_string( ) (BAD IDEA!) A better idea, would be to use stripslashes() on the output: echo stripslashes($output); Quote
Dominion Posted August 15, 2011 Posted August 15, 2011 Check if magic quotes are on, and if they are turn them off. http://php.net/manual/en/security.magicquotes.php - What magic quotes are. http://php.net/manual/en/function.get-magic-quotes-gpc.php - Check if they are on. Quote
Scipol Posted August 16, 2011 Author Posted August 16, 2011 Im not sure where to look for where this would be x.x Quote
Scipol Posted August 16, 2011 Author Posted August 16, 2011 <div id='black'>".stripslashes($post['f_forum_name'])." <span style='float: right'>Topic: ".stripslashes($post['t_topic_subject'])." </span></div> This is a line of code where i have the strips on already... Quote
Scipol Posted August 16, 2011 Author Posted August 16, 2011 <div id='black'>".stripslashes($post['f_forum_name'])." <span style='float: right'>Topic: ".stripslashes($post['t_topic_subject'])." </span></div> Quote
Dominion Posted August 16, 2011 Posted August 16, 2011 There was no need for 4 posts in a row... Quote
Scipol Posted August 16, 2011 Author Posted August 16, 2011 I couldnt get the code to post, sorry. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.