Jump to content
xisto Community
Sign in to follow this  
iGuest

Smilies...

Recommended Posts

Hey :) I'm now working on a nice shoutbox for my site and i want to set smilies for it.I tried at many ways to do that but it doesn't work... :cry: Please help!!! :? Thanks.

Share this post


Link to post
Share on other sites

read up on eregi replace

eregi_replace ( string pattern, string replacement, string string)

e.g. use this to find all instances where :) is entered... and replace it with an include to a picture....

ive never made one myself tbh but its how i would do it - unless there is a better way?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.