PDA

View Full Version : Bizzare javascript needed


neodjandre
09-02-2002, 06:26 PM
OK, I will try to explain as much as i can what i need , it's really weird and useless but IMO quite funny!

I need a javascript where there will be a form box where visitors type whatever they like and then their quote appears eg. in the center of my page. It should also be nice to have a counter showing how many messages have been entered ! Each time a message is post , the previous one should be erased , so that only the newest message appears; or even better i get to choose how many previous messages would be shown , preferably in small letters below the newest quote ..:)

hope u get what i mean :D

Vladdy
09-02-2002, 06:50 PM
You can not do it without using server side scripting

neodjandre
09-02-2002, 07:03 PM
well , is there an easy way , a script ? will i have to learn php ?
I was hoping for sth like the copy/paste javacripts in the right place , lol :) :D

Spookster
09-02-2002, 08:46 PM
Javascript is clientside and cannot save anything to the server. A server-side language would be needed in order to keep track of how many and to save the quotes on the server. And yes you should use PHP. :D

neodjandre
09-02-2002, 11:09 PM
thnx spookster ... guess it would be better to move this to the php forum and change the title to sth like "weird php request" :D
.. would a mod do that 4 me plz ??? thnx :)