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
https://forums.phpfreaks.com/topic/149524-a-newbee-needs-some-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.