XML and ampersands

    Date: 09/29/06 (PHP Community)    Keywords: html, xml

    I have a short script that gets an XML file from isbndb.com and parses it for three simple tags, then passes the information back to a script in the URL.

    My problem occurs when there's an ampersand within the data of the XML file. I only get the text that comes after the ampersand. I've tried urlencode, htmlspecialchars, and htmlentities when the data is saved to the variables, but I'm obviously going in the wrong direction. Anybody have any tips?

    Source: http://community.livejournal.com/php/498065.html

« Email List that Checks Email? || Shoutcast »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home