Re: SimpleXML - issue with getting data out of the object returned
| From: | Dan Joseph | Date: | Fri, 19 Dec 2008 03:24:42 +0000 |
| Subject: | Re: SimpleXML - issue with getting data out of the object returned | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284813@lists.php.net to get a copy of this message | ||
On Thu, Dec 18, 2008 at 10:01 PM, German Geek <geek.de@gmail.com> wrote:
> $val = (string) $x->Package->PackageID;
> or
> $val = (int) $x->Package->PackageID;
>
>
Ha... I would have never figured that out... Thank you to you both! That
did the trick.
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/month.
"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."