Re: Re: $35 to the first person who can do this XML-parsing PHP script
| From: | Rob Gould | Date: | Thu, 08 Mar 2007 20:39:16 +0000 |
| Subject: | Re: Re: $35 to the first person who can do this XML-parsing PHP script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250123@lists.php.net to get a copy of this message | ||
Ok, well at least I'm honing in on the problems now. I appears that my ISP is only running php 4.4.4.
So back in the PHP 4-days, what was the preferred method of doing such things?
- Rob
On Mar 8, 2007, at 3:13 PM, Ben Ramsey wrote:
On 3/8/07 2:59 PM, Rob Gould wrote:1) Read XML data from an URL (www.librarytools.com/events/sampledata.txt) 2) Loop through all XML results and print to the screen the "eventname" and "eventnextoccurrencedate" (Just the date) values I'll probably kick myself once I see how easy it is, but I'm willing to pay to see it working. Feel free to email me off-list.If you're using PHP 5, take a look at SimpleXML. This is extremely easy to do. http://www.php.net/simplexml Take a look at Example 2134 on that page to get you started, and see http://www.php.net/simplexml_load_file to load XML from a URL. Do I get the $35 anyway for the consultation? ;-) --Ben Ramsey http://benramsey.com/ --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php