PHP操作数据库得到数据进行JSON组装
1.php程序mysql_connect("localhost","root",""); mysql_select_db("myhospitalv2"); $q=mysql_query("SELECT * FROM user2 "); while($e=mysql_fetch_object($q)) $output[]=$