Skip to content
WJunction - Webmaster Forum

HTML/PHP/JAVA code for user submitted random thoughts?

Status
Not open for further replies.
So i'm creating a simple site which core function would be a visitor submitted random thought generator. The main page would have the thought generator (you'd just press "next" and the page would refresh itself showing a new random though submitted by some user). In the "submit" or "form" or whatever you call it page there would be a simple form with text fields for writing your name, location (country), e-mail (not shown in the main page) and your thought. By submitting the thought the user sends his or her message into the database (well i imagine it being like that), from which the random thoughts for the main page are generated (with the name and location of the author).

So that's the basic idea. I found a lot of codes that generate random "quotes" from the ones that are already in the code. But I need it to be connected to the form in which USERS write their thoughts, so that the generator would always be up to date and spreading. I don't want to write my own pre-selected quotes. Could anyone help me get on the right path? How do I do this? Maybe someone could throw some code in here..? Any help is appreciated.

Thank you very much for your answers :)
 

3 comments

Nice idea, it can be done with a few hours of work using PHP/MySQL, HTML and a bit of JS. I would also recommend you to display a captcha when user submits his thoughts, to prevent bots and spam.
 
Thanks for the suggestion of installing captcha, I'll keep that in mind ;)

But my level of programming is hardly even novice. I'm reading on HTML/CSS and JAVA, but still haven't got a slightest clue on how to even start generating such code.

It seems I won't be able to move on without hiring a programmer?
 
Status
Not open for further replies.

About the author

S
Member · Joined
9
Messages
1
Reactions
3
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom