954,173 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Adding Advanced Ranking Surveys

I'm looking to add something like the survey I linked to one of my sites. Does anyone know of any tutorials on where I could figure out how to do this?

http://www.surveymonkey.com/s.aspx?sm=6XI3oB8MLk7ImuY5QtIDbQ_3d_3d

Parab00n
Newbie Poster
1 post since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

No, but I would start off with a basic HTML form like such:

<form name='example' action='submit.php' method='post'>
How would you rate the following? Select 1-5 for each.<br/>
HTML: <select name='HTML'>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select><br/>
JavaScript: <select name='JS'>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select><br/>
PHP: <select name='PHP'>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select><br/>
ASP: <select name='ASP'>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select><br/>
</form>


Once you have that, go to W3Schools and learn some JavaScript to validate the users selections. Then you can write a PHP (I recommend it) file to tally the selections and place them in a MySQL Table for result viewing.

FlashCreations
Posting Whiz
395 posts since Sep 2008
Reputation Points: 47
Solved Threads: 47
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You