日期:106年4月5日下午 地點:新北市教研中心 公文與計畫: 公文:106E0001588 新北市106年度自由軟體推廣暨程式應用研發中心工作計畫 技術分享: 保太:校務系統匯出的學生XML檔案新增至資料庫 (使用 PHP) 學生XML檔案範例: <?xml version="1.0″ encoding="UTF-8″?> <SCHOOL:report xmlns:SCHOOL="http://163.20.240.13″> <SCHOOL:table table_name="table0″> <SCHOOL:row roe_name="row0″> <SCHOOL:col col_name="col0″>學號</SCHOOL:col> <SCHOOL:col col_name="col1″>姓名</SCHOOL:col> <SCHOOL:col col_name="col2″>年級</SCHOOL:col> <SCHOOL:col col_name="col3″>性別</SCHOOL:col> <SCHOOL:col col_name="col4″>生日</SCHOOL:col> <SCHOOL:col col_name="col5″>班級</SCHOOL:col> <SCHOOL:col col_name="col6″>座號</SCHOOL:col> </SCHOOL:row> <SCHOOL:row roe_name="row1″> <SCHOOL:col col_name="col0″>102001</SCHOOL:col> <SCHOOL:col col_name="col1″>蔡承堯</SCHOOL:col> <SCHOOL:col col_name="col2″>1</SCHOOL:col> <SCHOOL:col col_name="col3″>男</SCHOOL:col> <SCHOOL:col col_name="col4″>20060910</SCHOOL:col> <SCHOOL:col col_name="col5″>01</SCHOOL:col> <SCHOOL:col col_name="col6″>01</SCHOOL:col> </SCHOOL:row> </SCHOOL:table> </SCHOOL:report> PHP 程式碼: […]