Gubbins Posted August 23, 2009 Share Posted August 23, 2009 Could anyone please help with this: In my replace file, for forum posts this does not seem to work:- $txt = str_replace(''',"'",$txt); i.e if i put the word don't or it's i get don't or it's displayed on the page. Quote Link to comment Share on other sites More sharing options...
papaface Posted August 23, 2009 Share Posted August 23, 2009 I'm pretty sure ' is ' and not ' unless they're equal. Quote Link to comment Share on other sites More sharing options...
Gubbins Posted August 23, 2009 Author Share Posted August 23, 2009 Nope still not working! Quote Link to comment 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.