我试图调试这次没有成功。到目前为止,这是我尝试过的<?php$cid= (string)$_GET['cid'];//I passed this from another page using get methodecho $cid; //My code works up to this point$record = mysql_query("select * from questions where QType = '$cid'");$array = array();while($row = mysql_fetch_assoc($record)) { $array[] = $row; } for($var = 0; $var<count($array);$var++) { echo $array[$var]['Question'].'<br>'; } ?>
1 回答
- 1 回答
- 0 关注
- 128 浏览
添加回答
举报
0/150
提交
取消