Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
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 contentCode: Select all
<?php
header("Content-type: text/xml");
echo "<?xml version="1.0" encoding="windows-874"?>\n";
?>
<News xmlns:Nation="www.apple.com">
<?php
?>
<NewsItemApple>
<headlineApple><?php echo $HTTP_POST_VARS["headline"]; ?></headlineApple>
<newscontent><?php echo $HTTP_POST_VARS["content"]; ?></newscontent>
</NewsItemApple>
<?php
?>
</News>feyd | Help us, help you. Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]