Smilies in guestbook

Javascript coding ..

Moderators: macek, egami, gesf

nick_k
New php-forum User
New php-forum User
Posts: 34
Joined: Wed Dec 25, 2002 6:04 am
Location: The Netherlands
Contact:

Smilies in guestbook

Postby nick_k » Thu Jan 02, 2003 3:36 am

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

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Thu Jan 02, 2003 4:16 am

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...

nick_k
New php-forum User
New php-forum User
Posts: 34
Joined: Wed Dec 25, 2002 6:04 am
Location: The Netherlands
Contact:

Postby nick_k » Thu Jan 02, 2003 4:38 am

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.

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Thu Jan 02, 2003 4:49 am

Don not do this. I removed your post.
as i understant it was javascripts qustion =)


Return to “JavaScript”

Who is online

Users browsing this forum: No registered users and 1 guest