PHP script to write to html wanted

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
I Urgently need a php script to write html content to the appropriate tags in an xml file using a tiny mice editor .

I have attached the exiting code which i am using .

The problem is that while writing to the xml file the content appears

as you can find int he xml file(attached ) instead of

<p><a href="</p>

I need someone who can correct the script and get back to me ASAP.

Additional Project Description:
07/12/2011 at 19:23 SGT
I need the content written to the XML file in this format

<p>Test Content <a href="">Test Link </a> </p>

instead of this format

<p><a href=""><b>test content</b> </a></p>

hope im clear on the correction needed

Skills required:
ActionScript, PHP, XML
Additional Files:
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.