I have a page that retrieves form information and displays it using print(). My problem is that when I fill out the form with new lines, it doesn't get printed that way. Here is what I have
// Gets the message information from the form
$message=$_POST["message"];
print($message);
Example of what I fill out in the form (exactly as it appears, with new lines):
first line first line first line first line
second line second line second line
third line third line
Then when the string gets printed it comes up as:
first line first line first line first line second line second line second line third line...
How can I make it show the new lines that I've put into the form?