Now, after you fix that, the next thing you need to do is urlencoding.
Lets say you have a textarea:
<textarea name="blurb"></textarea>
And someone types in the textarea:
Hello, how are you today.
I hope you are fine.
My bowling score is getting better
To post all that stuff, you need to have
<form action="$PHP_SELF?blurb=urlencode($blurb)&blah=urlencode($blah)etc., etc., etc.
Personally, I find that rather than to put all that stuff into the form area (where it will show up in the visitors URL window), it is NEATER to have hidden inputs, like this:
<textarea name="blurb"></textarea>
<input type="hidden" name="blurb" value="<?=urlencode($blurb)?>">
<input type="hidden" name="plop" value="<?=urlencode($plop)?>">
<input type="hidden" name="meow" value="<?=urlencode($meow)?>">
Then, at the top of your page, have php decode it all:
//top of page
<?php
$blurb = urldecode($blurb);
$plop = urldecode($plop);
$meow = urldecode($meow);
//then the rest of your page
And, yes, you NEED to urlencode it, even when it's hidden!! (some browsers will only "catch" the first variable).