Hello, I need to fill a table in my database, called teams, with the data contained in this XML file, both the team IDs and the team names. However, I am struggling to do so.
<teams> <team id="7">Arsenal</team><team id="9">Aston Villa</team><team id="17">Blackburn Rovers</team><team id="20">Bolton Wanderers</ team><team id="31">Chelsea</team><team id="53">Everton</team><team id="60">Fulham</team><team id="72">Hull City</team><team id="82">Liverpool</team><team id="86">Manchester City</team><team id="87">Manchester United</team><team id="90">Middlesbrough</ team><team id="95">Newcastle United</team><team id="104">Portsmouth</ team><team id="377">Stoke City</team><team id="127">Sunderland</ team><team id="129">Tottenham Hotspur</team><team id="403">West Bromwich Albion</team><team id="137">West Ham United</team><team id="138">Wigan Athletic</team> </teams> To be honest, I'm not entirely sure what to do, or how to go about it. Any ideas? Any help would be grateful. Cheers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---