this is one radio button set
<input type="radio" name="image" id="100" value="a"/>
<input type="radio" name="image" id="100" value="b"/>
<input type="radio" name="image" id="100" value="c"/>
<input type="radio" name="image" id="200" value="d"/>
<input type="radio" name="image" id="200" value="e"/>
<input type="radio" name="image" id="300" value="f"/>
<input type="radio" name="image" id="300" value="g"/>
<input type="radio" name="image" id="400" value="h"/>
and so on...
and this is another radio button set
<input type="radio" name="number" value="100"/>
<input type="radio" name="number" value="200"/>200
<input type="radio" name="number" value="300"/>300
<input type="radio" name="number" value="400"/>400
<input type="radio" name="number" value="500"/>500
<input type="radio" name="number" value="600"/>600
my question is how can i compare value of one with value="100" to other with id="100" in php
there is a comparison i want to make but for the field with id = 100 i have values as abcd.. so i cant assign it value = 100 cuz i m saving it in database means.. there are other fields with id=100 but their values shall be diffrent otherwise i m not able to identify them after they are send to databse still i have to do comparison of both.. and that too serverside so what are my options?
more detailed explanation.... there are two sets of radio buttons.. in one set there are values.. and in other sets there are images related to those values.. when user clicks set of value... and user click on set of images so php shall match that image to the value.. if user clicked on 100 as value and later he clicks on an image under the id 200 database shall not allow it to enter and gave him some error