Go to Post I'd like to welcome all the rookie teams to FIRST. Hang on tight! It is a wild, crazy and fun ride that will impact your lives for decades to come. - Sayrah [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 10-12-2008, 22:34
DMetalKong's Avatar
DMetalKong DMetalKong is offline
Registered User
AKA: David K.
no team
Team Role: College Student
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Bridgewater
Posts: 144
DMetalKong is a jewel in the roughDMetalKong is a jewel in the roughDMetalKong is a jewel in the rough
Send a message via AIM to DMetalKong
Re: design help

The comment box would be just a form with a textarea in it.

Code:
<form method='post' action='YOUR URL HERE'>
<label for='comment_box'>Comments:</label><textarea name='comment_box' id='comment_box'></textarea>
<input type='submit' value='Submit' />
</form>

If you are asking for the code for how to store people's responses, you will need to do some server-side scripting. No matter what type of webserver you have w3schools as a great resource. You will probably want to check out the tutorials on HTTP POST and (assuming your webserver runs PHP) PHP. If you are using PHP, the PHP website is another great place for info.

Once you have POST'ed the data from your form, you will need a place on your server to store the comments. The more crude method would be to use filesystem functions and save the comments to a .txt on your server. The better way would be to use MySQL, a database system. MySQL allows for much better data organization than a dump into a file.

So, putting together a list of what needs to happen:
  1. Create a form for the user to input data
  2. Create a server-side script to get the data from the user
  3. Store the data either in a .txt file or in a database
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pit design help Black Claw General Forum 27 20-11-2008 20:11
Forklift Design Help!!! ALARM Robotics General Forum 11 25-01-2008 10:03
Slider design help? vivek16 Technical Discussion 4 13-01-2008 16:26
Circuit Design Help Ronald_raygun Electrical 18 26-03-2007 07:32
Transmission Design Help JoelP Technical Discussion 8 24-04-2006 16:59


All times are GMT -5. The time now is 17:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi