Dear All,
I just started to learn php a month ago. I've managed to create page that allow user to send feedback/comment/message. it's simple, there is a text area that user fill in the message.
However, when i try to display the message, it doesn't look nice. it's like all the messages is put into one line, without any paragraph.
I'd really appreciate for any suggestion and advice...
below is the script :
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<p>Input your message:</p>
<form id="form1" name="form1" method="post" action="<? echo $_SERVER['PHP_SELF'];?>">
<p>
<textarea name="message" cols="50" rows="5" id="message"></textarea>
</p>
<p>
<input type="submit" name="Submit" value="Preview" />
</p>
</form>
<p>Your Message: <? echo $_POST['message'];?></p>
</body>
</html>