Extract from XML

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sleepydad
Forum Commoner
Posts: 75
Joined: Thu Feb 21, 2008 2:16 pm

Extract from XML

Post by sleepydad »

I need to get "text", "code" and "temp" information from <yweather:condition /> in the following XML. How do I do it?

http://xml.weather.yahoo.com/forecastrss?p=95747

Thanks in advance -
sleepydad
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Extract from XML

Post by Celauran »

Take a look at SimpleXML.
Post Reply