라디오 버튼 대신 사용할 수있는 것은 무엇입니까? 때문에 PHP 페이지에 1 개 이상의 값을 전달해야합니다.입력에 둘 이상의 값을 전달하는 방법은 무엇입니까?
<table width="900" border="0" align="center" cellpadding="2" cellspacing="0" id='center'>
<tr class="row_submit">
<td><input type="radio" name="carrier" <?php if (isset($carrier) && $carrier=="LBC") echo "checked";?> value="LBC"></td>
<td><img src="../paymentoptions/LBC.jpg" alt="LBC" class="picture"/></td>
<td><p>The Shipping takes 1-2 days for NCR and 2-3 days for any provincial. Payment method is through BPI Bank Deposit.<p>
<div id='price'> Additional ₱250 </div></td>
</tr>
<tr class="row_submit">
<td><input type="radio" name="carrier" <?php if (isset($carrier) && $carrier=="PickUp") echo "checked";?> value="PickUp"></td>
<td><img src="../paymentoptions/Pick-up.jpg" alt="Pick-Up" class="picture"/></td>
<td><p>Personally pick up your merchandise at our office. Free of Charge. Office hours: 10:00 am to 5:00 pm<p>
<div id='price'> Free!! </div></td>
</tr>
</table>
여기 내 코드입니다. $ payment에 값을 전달해야합니다. 이는 약간 다르지만 사전 정의되어 있습니다.
예를 들어, 나는 LBC이고 LBC는 LBC이고 $ payment는 BPI입니다.
그래서 양식을 클릭 할 때 라디오 버튼을 대체 할 수있는 것은 무엇입니까? 또한 행을 누를 때 자동으로 제출할 jquery를 추가했습니다.