Heim >Backend-Entwicklung >PHP-Tutorial >PHP获取select值点击链接传入下一个页面
PHP获取select值点击链接传到下一个页面
第一个页面:
<div class="price"><br /> <div class="clear"></div><br /><dl><br /><dt>选择合作服务站:</dt><br /><dd><br /><select name="zhan"><option >请务必选择收货地址</option><br /><!--{loop $zhanlist $tt}--><br /><br /><option>{$tt[name]}-{$tt[address]}</option><br /><!--{/loop}--><br /></select><br /></dd><br /></dl><br /><br /></div><br /> <a id="btn_Add" class="hidefocus" href="http://www.sdlhqc.com/create_partner_trade_by_buyer-PHP-UTF-8/index.php?sid={$product['price']}&itemid={$_GET['itemid']}&zhan" hidefocus="true"><br />
<br /> <dt>收货人地址:</dt><br /> <dd><br /> <span class="null-star">*</span><br /> <input size="30" name="WIDreceive_address" value="<?php <br /> $t=$_POST['zhan'];<br /> echo iconv('GBK',"UTF-8","$t") ?>"" /><br /> <span>如:XX省XXX市XXX区XXX路XXX小区XXX栋XXX单元XXX号<br />