i have this line.
it prints an xml line.
$description = $residential->new_child("description", "$xml_description");
this request the description
// description info
$xml_description = $line["description"];
echo $xml_description;
see it works fine if the description is like this.
quick for this one! Keenly priced for the first home buyer or property investor. A neat and clean three bedroom home ready for moving in, but with plenty of scope to renovate. Hardwood floors throughout, some have been polished, other rooms have carpets over original floorboards in excellent condition. The garden has been partly landscaped and awaits a green thumb to finish off. Further outdoor rooms could be added for private entertaining areas
XML out put
<description>Be quick for this one! Keenly priced for the first home buyer or property investor. A neat and clean three bedroom home ready for moving in, but with plenty of scope to renovate. Hardwood floors throughout, some have been polished, other rooms have carpets over original floorboards in excellent condition. The garden has been partly landscaped and awaits a green thumb to finish off. Further outdoor rooms could be added for private entertaining areas.</description>
but if it has a "&" in it it breakes.
quick for this one! Keenly & priced for the first home buyer or property investor. A neat and clean three bedroom home ready for moving in, but with plenty of scope to renovate. Hardwood floors throughout, some have been polished, other rooms have carpets over original floorboards in excellent condition. The garden has been partly landscaped and awaits a green thumb to finish off. Further outdoor rooms could be added for private entertaining areas
XML out put
<description>Be quick for this one! Keenly </description>
it only seems to stuff up on & so far.
anyone able to help.
cheers aron.