面向过程:$sql = "select t_bumen from t_xinxi where id=111"; //Sql语句$result = mysql_fetch_assoc(mysql_query($sql)); //执行sql语句并以关联数组保存print_r($result); //输出数组