i have problem.i have this textarea input.when it is display in the xml,it is display in one line and dont have the paragraph..how to enable it to displayed in paragraphs if the data is in paragraph when the user enter data in the textarea?$HTTP_POST_VARS["content"] is the user input for the content
header("Content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"windows-874\"?>\n";
?>
<News xmlns:Nation="
<?php
?>
<NewsItemApple>
<headlineApple><?php echo $HTTP_POST_VARS["headline"]; ?></headlineApple>
<newscontent><?php echo $HTTP_POST_VARS["content"]; ?></newscontent>
</NewsItemApple>
<?php
?>
</News>
header("Content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"windows-874\"?>\n";
?>
<News xmlns:Nation="
<?php
?>
<NewsItemApple>
<headlineApple><?php echo $HTTP_POST_VARS["headline"]; ?></headlineApple>
<newscontent><?php echo $HTTP_POST_VARS["content"]; ?></newscontent>
</NewsItemApple>
<?php
?>
</News>