|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need to use 3 radio buttons to input into same field.. Possible??
Hi all
I have an area in my site that allows the user to make a selection frm 3 radio buttons. Upon selection, I want 1, 2 or 3 to be inputted into a field within the database. So, this field will contain either 1, 2 or 3. However, I get a violation error when I try to do this, says "Duplicate output destination 'PotentialLow'." Anyone know a way around this??? All help greatly appreciated!!!! |
|
#2
|
|||
|
|||
|
did you try this
Beacuse you didn't post your code, there is no way for me to know what you tried. But I too have came across this and I solved it by doing:
<input type="radio" name="insert_this" value="1"> <input type="radio" name="insert_this" value="2"> <input type="radio" name="insert_this" value="3"> if your database is mysql, you should have something that looks like this; $sql = "INSERT INTO table (field) VALUES ('$insert_this')"; this should solve your problem |
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Need to use 3 radio buttons to input into same field.. Possible?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|