Smilies in guestbook



ok, what I want to do in my guestbook, is use smilies, so for example the visitor could type: :) and a smilie image would apear in its place. What I do, is save all the input ina file called notes.dat, and then just: include("notes.dat");
Thanks, Nick
I think this is JavaScript qustion.

You can save thi page and looket at sourse-file how it works...

and after that make a parsing for smiles with regular expresions...
ok, somehow i posted in the wrong forum, i was meant to post in the PHP general forum, but it ended up here. I think im gonna delete this and post it in php general.