我試圖調(diào)試這次沒(méi)有成功。到目前為止,這是我嘗試過(guò)的<?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 回答
- 0 關(guān)注
- 146 瀏覽
添加回答
舉報(bào)
0/150
提交
取消