Page 1 of 1

Smilies in guestbook

Posted: Thu Jan 02, 2003 3:36 am
by nick_k
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

Posted: Thu Jan 02, 2003 4:16 am
by Oleg Butuzov
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...

Posted: Thu Jan 02, 2003 4:38 am
by nick_k
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.

Posted: Thu Jan 02, 2003 4:49 am
by Oleg Butuzov
Don not do this. I removed your post.
as i understant it was javascripts qustion =)