schme16 Posted August 29, 2007 Share Posted August 29, 2007 I'm drawing a piece of data from a database, and when ever php encounter an apostrophe it adds a second one next to it.... any ideas on how to fix this? Thanks to everyone who helps! Link to comment https://forums.phpfreaks.com/topic/67213-solved-apostrophe-problems/ Share on other sites More sharing options...
jitesh Posted August 29, 2007 Share Posted August 29, 2007 stripslashes("john\'s bike"); Link to comment https://forums.phpfreaks.com/topic/67213-solved-apostrophe-problems/#findComment-337135 Share on other sites More sharing options...
schme16 Posted August 29, 2007 Author Share Posted August 29, 2007 Gah! I'm so stupid! I think I've even asked this question before and forgotten it.... oh wells, Thanks heaps! jitesh! Link to comment https://forums.phpfreaks.com/topic/67213-solved-apostrophe-problems/#findComment-337138 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.