PHP??????????????????JSON???
???????????? ???????[ 2013/12/17 10:46:41 ] ????????
????1.php????
<?php
mysql_connect("localhost"??"root"??"");
mysql_select_db("myhospitalv2");
$q=mysql_query("SELECT * FROM user2 ");
while($e=mysql_fetch_object($q)) $output[]=$e;
print(json_encode($output));
mysql_close();
?>
|
????2.???????????
[{"id":"1"??"name":"Tony"??"sex":"1"??"birthyear":"1999"}??{"id":"2"??"name":"Jim"??"sex":"1"??"birthyear":"1987"}??{"id":"3"??"name":"Lucy"??"sex":"0"??"birthyear":"1988"}??{"id":"4"??"name":"Tom"??"sex":"1"??"birthyear":"1980"}] |
????3.???
???????php???????MySQL??????????????????????????????屑?????????鈥叉储??????
$q=mysql_query("SELECT * FROM user2 ");
while($e=mysql_fetch_object($q)) $output[]=$e;
|
??????????json_encode????????JSON?????????????????JSON???????????????璞�??????????
???????????????????????婕�???????????????????SPASVO小??(021-61079698-8054)?????????????????????????
??????
?????????????????????????些????????????????????TC???????????????些???????????????????????????????????????????????(java .net ?????)???mysql???????????????????卸????写???Python???????????????(DB2)??????BufferPool????????????????????????????????6??????????????????婊�???????????????-????????SQL Server???????????????????位?????PHP??SQL????????????????????Python写???NoSQL????????? SQL ?械????????????? SQL ?械?????????Java???????:?????MySQL???????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????械????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????