First of all I want to apologise for my bad English, and im fairly new to php coding so please have patience with me.
I have a website where customers can choose 2 different values, depending on which certain column in excel will be populated. But with one radio button i want to send 2 values coz i want those 2 values from 1 button to go on separate cells in excel.
radio buttons look like this:
<input type="radio" name="group1" value="Cheese,300" checked>Cheese<br>
<input type="radio" name="group1" value="Meat,500">Meat<br>
and in the file that is making the acctual excel file using phpexcel i used explode fuction like this
$group1 = $_POST['group1'];
$group1 = explode (",",$group1);
and when i wanted to insertit into certain cell i used next command
Problem is that when i open excel file .... in cell A22 i get C, and in cell E45 i get 3.
So im only getting first letter in those cells.
If anybody can offer some help id really appriciate it . Thank you.