SkyRanger Posted May 25, 2007 Share Posted May 25, 2007 I am not sure how to convert : ) smilies to . I already have it so the user clicks on the smiley. It inserts into the textbox, but not sure how to display it after it is called back from mysql. Anybody have any ideas on how to start this or can point me into the right direction where I can read on how this is done. Thanks. Link to comment https://forums.phpfreaks.com/topic/52899-solved-converting-smilies/ Share on other sites More sharing options...
pocobueno1388 Posted May 25, 2007 Share Posted May 25, 2007 You need to search for the smiley within the string and replace the ": )" with the image to the smiley. http://php.net/str_replace Link to comment https://forums.phpfreaks.com/topic/52899-solved-converting-smilies/#findComment-261255 Share on other sites More sharing options...
SkyRanger Posted May 25, 2007 Author Share Posted May 25, 2007 Thought that is what it was, got it working, thanks pocobueno1388 Link to comment https://forums.phpfreaks.com/topic/52899-solved-converting-smilies/#findComment-261264 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.