Jump to content

a Newbee needs some help please


egold

Recommended Posts

Hello Everyone,

 

I developed a contact form in dreamweaver using a few checkoff boxes. My return script works except only 1 answer comes back. Could someone help me out with how to set up this php so multiple checkoff's will work?

 

Here is part of my script from one of many questions.

 

<p align="left">Check Off The Items That Describe Yourself<br />

            <label>

              <input type="checkbox" name="selfdescription" value="driven" id="selfdescription_0" tabindex="170" />

              Highly Driven</label>

            <br />

            <label>

              <input type="checkbox" name="selfdescription" value="content" id="selfdescription_1" tabindex="175" />

              Content</label>

            <br />

            <label>

              <input type="checkbox" name="selfdescription" value="outgoing" id="selfdescription_2" tabindex="180" />

              Outgoing</label>

            <br />

            <label>

              <input type="checkbox" name="selfdescription" value="shy" id="selfdescription_3" tabindex="185" />

              On The Shy Side</label>

            <br />

            <label>

              <input type="checkbox" name="selfdescription" value="takecharge" id="selfdescription_4" tabindex="190" />

              Take Charge</label>

            <br />

            <label>

              <input type="checkbox" name="selfdescription" value="teamplayer" id="selfdescription_5" tabindex="195" />

              Team Player</label>

 

 

I searched and read and viewed some tutorials after a many days of trying I got the script to work just fine except I can get more than 1 checkoff answer

 

$selfdescriptionField =  $_POST['selfdescription_1'];

 

here is the response part

 

self description: $selfdescription <br>

 

What do I need to do to get multiple answers sent back to me

 

Thanks in advance

 

Evan

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.