Posted: Sun Oct 05, 2008 9:20 am Accept textarea input, add that input to another html file
I am trying to put a web page together for the motorcycle group.
The group wants an area where they can post comments or for sale ads.
I want to have a page comments.html that contains all their comments. On comments.html, I will have a link "New post" that will take them to the code below.
when the user hits the submit button, I want to accept this input, write to comments.html and return the user to the comments.html page. I would prefer to do this in html ... just a rookie who messes around and was asked to do this not to mention the server space we have is extremely limited.
<p> This is the place for chapter members to post. Keep it clean post whatever you like.</p>
<form name="input" action="test.html" method="post">
<textarea rows="10" cols="30"></textarea>
<br>
<input type="submit" value="Submit">
Joined: 28 Feb 2007 Posts: 1408 Location: Biloxi, MS
Posted: Sun Oct 05, 2008 3:10 pm
HTML is a static markup language. You are going to need a more active script language like PHP to allow interaction with members along with a database.
Suggest you install something like a forum and customize it as needed.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum