lovephp Posted November 29, 2012 Share Posted November 29, 2012 how to nopt get these \\\ everytime user resubmit the form and if there is any work like don't etc it becomes dont\'t how do i get rid of it? Quote Link to comment https://forums.phpfreaks.com/topic/271352-used-real-escape-string-and-in-textarea-it-gives/ Share on other sites More sharing options...
Pikachu2000 Posted November 29, 2012 Share Posted November 29, 2012 Is magic_quotes_gpc set to on? Quote Link to comment https://forums.phpfreaks.com/topic/271352-used-real-escape-string-and-in-textarea-it-gives/#findComment-1396201 Share on other sites More sharing options...
PFMaBiSmAd Posted November 29, 2012 Share Posted November 29, 2012 The only data you escape are the values being put into the query statement. Quote Link to comment https://forums.phpfreaks.com/topic/271352-used-real-escape-string-and-in-textarea-it-gives/#findComment-1396205 Share on other sites More sharing options...
lovephp Posted November 29, 2012 Author Share Posted November 29, 2012 yes it is on so if i off it will it be fixed? Quote Link to comment https://forums.phpfreaks.com/topic/271352-used-real-escape-string-and-in-textarea-it-gives/#findComment-1396207 Share on other sites More sharing options...
lovephp Posted November 29, 2012 Author Share Posted November 29, 2012 worked by turning off magic_quotes Quote Link to comment https://forums.phpfreaks.com/topic/271352-used-real-escape-string-and-in-textarea-it-gives/#findComment-1396215 Share on other sites More sharing options...
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.