Results 1 to 4 of 4
-
16th Feb 2012, 06:13 PM #1OPMember
HTML/PHP/JAVA code for user submitted random thoughts?
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 answersstungun Reviewed by stungun on . HTML/PHP/JAVA code for user submitted random thoughts? 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 Rating: 5
-
16th Feb 2012, 06:17 PM #2Member
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.
-
16th Feb 2012, 06:39 PM #3OPMember
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?
-
16th Feb 2012, 07:12 PM #4Member
If you want to learn all these things, write this script for yourself. If you want it fast, hire someone. Like me
If you make it, start by looking up how to get data with php from html forms.
http://www.tizag.com/phpT/examples/formex.php
then how to add data to a mysql database, and how to display from that later, and so on...
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Ask wordpress user submitted post
By warung giras in forum Tutorials and GuidesReplies: 11Last Post: 20th Mar 2012, 02:57 PM -
Sectional gallery code(jquery/java)
By mannNmeet in forum Web Development AreaReplies: 0Last Post: 15th Nov 2011, 09:43 AM -
Random Helpful Code
By JmZ in forum Webmaster ResourcesReplies: 5Last Post: 24th Feb 2011, 09:45 PM -
Need Help HTML/Java Script Twitter/Countdown fixing
By Andy~s in forum Web Development AreaReplies: 0Last Post: 19th Dec 2010, 06:29 PM -
Differentiate B/w Submitted/Non-submitted topics
By champ_007_bond in forum Web Application/Script SupportReplies: 9Last Post: 28th Aug 2010, 03:54 PM
themaRegister - register to forums...
Version 3.54 released. Open older version (or...