View Single Post
  #1 (permalink)  
Old June 1st, 2007, 01:13 PM
jennypretty jennypretty is offline
Authorized User
Points: 76, Level: 1
Points: 76, Level: 1 Points: 76, Level: 1 Points: 76, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2007
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to store 2 checkbox values in separate lines i

Hello,

I created a checkbox that allows users to select more than one boxes and use Access db to store values. How do I make 2 lines in Access table field if a user select 2 boxes.

Here is my code:
<input type="checkbox" name="a" id="a" value="Asian" />Asian<BR />
<input type="checkbox" name="a" id="b" value="Latino" />Latino<BR />
<input type="checkbox" name="a" id="c" value="White" />White<BR />

If a user check 2 first boxes, I like to have a value in the field to be:
Asian
Latino

Instead of Asian, Latino

How do we do that?

thanks.

http://www.asiafuns.com/asian_friends/
__________________
---------------------
There is NO stupid question.
Reply With Quote