I have a from that generates a html page what i have in the form is a few textarea boxes that the user fills in and then clicks submit. But the problem is it doesn't keep the line breaks "<br>" when it returns to the submitted form.

so on the html output form i have $input = $_POST['input'];
then the code for a table and <?php echo $input; ?> but instead of remembering the carrage returns it just warps the text.

How do i achieve this.

Thanks in Advance