182x Posted August 8, 2007 Share Posted August 8, 2007 Hey guys, I have put data into the database wchich contains the word "can't" I have escaped this so it displayed normally in most tables but in one case it is displayed "can<?>t" I was just wondering why the question mark has appeared? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/63955-data-output-question/ Share on other sites More sharing options...
cooldude832 Posted August 8, 2007 Share Posted August 8, 2007 try to stripslashes that should fix it for you. Quote Link to comment https://forums.phpfreaks.com/topic/63955-data-output-question/#findComment-318779 Share on other sites More sharing options...
182x Posted August 8, 2007 Author Share Posted August 8, 2007 How do you do that? Any idea why its just effecting one table and not them all? Quote Link to comment https://forums.phpfreaks.com/topic/63955-data-output-question/#findComment-318782 Share on other sites More sharing options...
Fadion Posted August 9, 2007 Share Posted August 9, 2007 To strip slashes u can use stripslashes($var) but not sure if this is your case. Quote Link to comment https://forums.phpfreaks.com/topic/63955-data-output-question/#findComment-318977 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.