KingOfHeart Posted March 28, 2010 Share Posted March 28, 2010 What's the best way to show a ' character? Will this work for showing it as a image title (when you hover over an image it shows some text)? Link to comment https://forums.phpfreaks.com/topic/196810-showing-the-character/ Share on other sites More sharing options...
GetPutDelete Posted March 28, 2010 Share Posted March 28, 2010 Escaping it using the backslash key "\". For example. echo 'Hello my name\'s bob' will output "Hello my name's bob". Link to comment https://forums.phpfreaks.com/topic/196810-showing-the-character/#findComment-1033148 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.