Jump to content

Form Multiple Input name


dani33l_87

Recommended Posts

I have a form:

 

<input id="house" name="element_1" class="element radio" type="radio" value="Daniel" />

<input id="car" name="element_2" class="element radio" type="radio" value="Joe" />

 

 

How can I give to "element_1" multiple value instead of only one?

 

Welcome <?php echo $_GET["element_1"]; ?><br>   ====  Welcome Daniel

 

 

element_1 = element_12 = element_13

 

WHERE

 

 

element_1 = Daniel

element_12 = car

element_13 = key

 

 

Welcome <?php echo $_GET["element_12"]; ?><br>   ====  Welcome car

 

 

I need to create a structure for a 10 different values.  I heard that will be easy to use array or object, I don t really now how to structure it.

 

 

 

 

 

 

 

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/289353-form-multiple-input-name/
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.