Radon3k
06-26-2003, 03:36 AM
I have a small news script that works like this:
index.php
Displays my news
add.php
Allows me to add the news and consists of a text field for the news title and a textarea for the actual news.
I want to be able to type something like : ) (no space) in the textarea and then have it converted to a smilie. I asked this on PHPBuilder.com and the nice guy that did his best to help me was stumped after a while. Any suggestions? Thanks. :)
index.php
Displays my news
add.php
Allows me to add the news and consists of a text field for the news title and a textarea for the actual news.
I want to be able to type something like : ) (no space) in the textarea and then have it converted to a smilie. I asked this on PHPBuilder.com and the nice guy that did his best to help me was stumped after a while. Any suggestions? Thanks. :)