April 24, 200917 yr Hey, Wondering how I can make some messages display randomly, and are posted by users. Basicly they go to the homepage, and a random message is shown, each time they refresh there page, another, random one appears. And below that, a box where users can add messages to the list, things like moderation arnt really needed, all it needs to do is add the message to a text file and then display it... Is that possible? with a php script? If so where can i get one?
April 24, 200917 yr I'm not going to go in depth but the princple is this 1. Create a table entry in a database to store comments 2. Write a PHP function to pull a random row entry out of the table 3. Output that variable as html and present it how you see fit using css/javascript Everytime the browser is refreshed, the process is re-run giving a random quote eachtime. It is much like what I done for my old site, Original Symmetry.
April 24, 200917 yr Author Thanks for the reply Didnt really understand it, i'm more of a designer ...but I'll ask my boyfriend he might be able to help out Edit: Shizzle...wrong forum..sorry if a mod could move it?...jeez I need to get more sleep
Create an account or sign in to comment