I have XML file like this format :
<gsmrs version="2.0" sport="soccer" lang="en" last_generated="2015-11-26 19:57:13"> <method method_id="4" name="get_seasons"> <parameter name="active" value="yes"/> <parameter name="authorized" value="yes"/> <parameter name="id" value="1"/> <parameter name="lang" value="en"/> <parameter name="type" value="area"/> </method> <competition competition_id="638" ow_competition_id="541" name="Super Cup" teamtype="default" display_order="320" type="club" area_id="80" area_name="Germany" last_updated="2015-11-26 15:43:31" soccertype="default" format="Domestic super cup"> <season season_id="10673" name="2015/2016" start_date="2015-08-01" end_date="2015-08-01" service_level="0" last_updated="2015-11-26 15:43:31"/> </competition> </gsmrs>
Now I need to save all parameter like season_id , start_date ....
to Data Base by using PHP.
How can do that ?
No comments:
Post a Comment