Re: Newbie Question - Parse XML with PHP...
| From: | shiplu | Date: | Sat, 20 Apr 2013 11:48:02 +0000 |
| Subject: | Re: Newbie Question - Parse XML with PHP... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320905@lists.php.net to get a copy of this message | ||
>
>
>
> Question: how do you use $mylist when the xml is not as a file but is
> returned on a web page?
>
I assume It returns as a string from page. Then use
simplexml_load_string(). See
http://php.net/manual/en/function.simplexml-load-string.php
--
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader