当前位置:我的异常网» PHP » 动态添加的radio如何向php传值
动态添加的radio如何向php传值
www.myexceptions.net 网友分享于:2014-10-15 浏览:0次
动态添加的radio怎么向php传值
$id=$_SESSION['user_id'];
$sql="select *from user_order where user_id='$id'";
$res=mysql_query($sql);
$row=mysql_num_rows($res);
if($row){
while($row2=mysql_fetch_array($res)){
$MID=$row2['ou_id'];
$_SESSION['mid']=$MID;
$city = $row2['ou_place'];
$strict = $row2['ou_xiangxi'];
$Name = $row2['ou_name'];
$Tel = $row2['ou_phone'];
echo "
{$Name}{$city}{$strict} {$Tel} ";}
文章评论