Lets see if I can explain this in a way that makes (some) sense...
Basically, I am trying to make an order form that uses arrays, radio buttons and check boxes. here is the basic html code i have right now that kind of explains what i want...I want the user to select their options and then have their options and a total displayed as a return.
<body>
<form action='' method='post'>
<table border="3">
<tr>
<td colspan="2" scope="col">Gift Extras are $1.00 each</td>
</tr>
<tr>
<td><input type="checkbox" name="extras[]" value="Ribbon" />Ribbon </td>
<td><input type="checkbox" name="extras[]" value="Tissue Paper" />Tissue Paper</td>
</tr>
<tr>
<td><input type="checkbox" name="extras[]" value="Gift Wrap" />Gift Wrap</td>
<td><input type="checkbox" name="extras[]" value="Bows" />Bows</td>
</tr>
</table>
<table border="3">
<tr>
<td colspan="2" align="center" scope="col">Shipping</td>
</tr>
<tr>
<td><input type="radio" name="shipping" value="quick" />Quick $25.00</td>
<td><input type="radio" name="shipping" value="quicker" />Quicker $40.00</td>
</tr>
<tr>
<td><input type="radio" name="shipping" value="quickest" />Quickest $55.00</td>
</tr>
</table>
<br>
and here is what i want the output to look like:
<table border="3">
<tr>
<td colspan="2" scope="col">Your total</td>
</tr>
<tr>
<td>shipping the user picked</td>
<td>cost of shipping</td>
</tr>
<tr>
<td>possible first option the user selected</td>
<td>$1.00</td>
</tr>
<tr>
<td>possible second option the user selcted (and so on, since i don't know how many they'll choose!)</td>
<td>$1.00</td>
</tr>
<td>your total:</td>
<td>total cost</td>
</tr>
</table>
Oh by the way, i have/want this all in a single php file (redux) but im not sure how to handle the arrays there...
I am totally overwhelmed so ANY help that you have would be greatly appreciated!