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. Quote 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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/52899-solved-converting-smilies/#findComment-261264 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.