[此贴子已经被作者于2007-8-29 17:09:05编辑过]
$sql = \"select `name` from `test`\";$res = mysql_query($sql);while($row = mysql_fetch_array($res)){ $data[] = $row;}print_r($data);