RE: [PHP] Problems parsing urls from XML
| From: | Daniel Nolan | Date: | Sun, 19 Nov 2000 00:03:18 +0000 |
| Subject: | RE: [PHP] Problems parsing urls from XML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26086@lists.php.net to get a copy of this message | ||
Ah, sorted it, you can ignore the question now :-)
I was making an error by handling the data in the character data function
instead of concotating a string and the handling it in the end element :-)
Cheers
-----Original Message-----
From: Daniel Nolan [mailto:trebz@barrysworld.com]
Sent: 18 November 2000 01:56
To: php-general@lists.php.net
Subject: [PHP] Problems parsing urls from XML
Hi,
I'm having a problem with an RSS XML that i have, im trying to parse the
<link> tag in using the XML functions in PHP but it keeps splitting the url
up about the ampersand in the url, so instead of one part i get 3 parts of
links insteead of the full one.
Does anyone know how i can get about this?
eg, http://host/index.php?item=1&index=2
splits into
http://host/index.php?item=1
&
index=2
which is mighty annoying :)
Any help would be appreciated
Cheers
--
Daniel "Trebz" Nolan
Developer @ www.barrysworld.com
Mob : 07909 511617 Business : 01924 422331
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net