Results 1 to 2 of 2

Thread: retrive answers to questionaire?

  1. #1

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    retrive answers to questionaire?

    have to do a questionaire thingy, going to do a bunch of checkboxes beside each question then have a button to sumbit when all is done. Is there a quick way to round up the results i.e whether a box has been checked or not after the submit button is used, about 40 questions?

    something like.

    for each checkbox
    if checkbox = checked then
    question number x = true
    and write that number to a file or so.

    thanks

  2. #2

    Thread Starter
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    Re: retrive answers to questionaire?

    no idea?

    I have basically have,

    HTML Code:
    <FORM action=http://myip/verify.php method=post>
    
      <LI><INPUT type=checkbox value=17 name=q> q1 
      <LI><INPUT type=checkbox value=18 name=q> q2 
      <LI><INPUT type=checkbox value=19 name=q> q3
      <LI><INPUT type=checkbox value=20 name=q> q4
      <LI><INPUT type=checkbox value=21 name=q> q5
    
      <INPUT type=submit value="Submit your results">
    
    </FORM>
    kind of thing in an html page and need the verify.php to work out whats been checked or not. So i'm looking for a quick way to check all values and also how do i determine what is checked or not from the php side?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width