当前位置:Gxlcms > PHP教程 > 动态添加的radio如何向php传值

动态添加的radio如何向php传值

时间:2021-07-01 10:21:17 帮助过:8人阅读

动态添加的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}