日期:2014-05-17 浏览次数:20448 次
$sql = "select * from `test` where number=512"; $sqlm = mysql_query($sql); while($row = mysql_fetch_array($sqlm)){ ?> <tr> <td id="photo" rowspan="6" ><img src="" /></td> <td class="td1">姓名:</td> <td class="td2"><?php echo $row[name];?></td> <td class="td1">性别:</td> <td class="td2"><?php echo $row[sex];?></td> </tr> <tr> <td class="td1">出生日期:</td> <td class="td2"><?php ?></td> <td class="td1">年龄:</td> <td class="td2"><?php ?></td> </tr> <tr> <td class="td1">现居地:</td> <td colspan="3" class="td2"><?php ?></td> </tr> <tr> <td class="td1 td3">备注:</td> <td colspan="3" class="td2"><?php ?></td> </tr> <?php } ?>