PHP输出结果demo
$conn = mysql_connect($tc_server, $tc_user_name, $tc_user_pass); mysql_select_db($tc_data_name, $conn); $sql="SELECT * FROM pre_common_admincp_cmenu"; $res1= mysql_query($sql); while($row=mysql_fetch_assoc($res1)) { $rowset[] = $row; } var_dump($rowset); return;
技术文档