Hello, before i start please sorry for my english, I’m not from english speaking country so my english is not that good.
is there any possibility to put 2 or more values in one input type ?
I have this code :
[php]<input type=“radio” name=“xxx” value=“1100 dollars” onclick=‘check_value(this, 1)’">[/php]
and in form.php
[php]<? echo $_POST["xxx"]; ?>[/php]
This what i posted works but its only show in form.php ‘1100 $ dollars’ but i want to for example :
mac book - 1100 dollars.
my idea is something like this :
<input type=“radio” name=“xxx” value=“1100 dollars” value2=“macbook” onclick=‘check_value(this, 1)’">
and when i confirm it i want in form.php
macbook 1100 dollars
I tried it with this code:
and in post.php
<? echo $_POST["xxxcena"]; ?>
<? echo $_POST["xxxtyp"]; ?>
But it dont work (only shows one product no matters what i chose from my options in form).
Once again im very sorry for my bad english and i hope someone of you understand what i need. Thanks for any help. -exer