Use HTML forms and PHP -
form action="somescript.php" method="post">
<input type="radio" name="myref1" value="selected">
<input type-"radio" value="myref2">
</form>
---------------------
<?php
if (isset($_POST['myref1']) &&
$_POST['myref1']=="selected")){tally=tally+5;}
// so on but check the html (value) as I do not use radio buttons -
----- Original Message -----
From: "amhalperin"
Hi everyone!
I am a beginner to web design. I want to create a personality test for
my site. Here is what I want ...
I want my test to ask 4 pages worth of questions.
I want some questions to be weighted more heavily than others
I created some questions using HTML forms and radio boxes. How can I
capture which option was selected?
Is this something I can do with php or should I learn java?
thanks!
--Adam
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/php-list/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/