如有问题欢迎追问。
所生成的网页类似于这样<form method="post" action="当前页面的地址">
<input type="radio" name="userress_id" id="radio" value="address_id1" />电话:xxx
<input type="radio" name="userress_id" id="radio" value="address_id2" />电话:xxx
</form>
然后最后面改为:
<?php
$userress_id = $_POST["userress_id"]
if($userress_id == null)
exit()
$userress_id = $userress_id >0 ? ...............
?>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)