i'm currently creating a piece of code which should simply show the text that is stored in the url via php in a variable QuoteText, like so:
post.php?PostID=7&QuoteText=This is a post
I have created the code to make a text area get this text and it should display in the text box. However for some reason I keep getting alot of whitespace characters in the text area box, although there is none in text being gotten.
Start of box | This is a post | end of box
Can anybody help explain why i keep getting this problem? Thanks, i've added the code for the textarea below
<textarea name="commentMade" rows="" cols="" class="COMMENTBOX" required=required>
<?php
if(isset($_GET['QuoteText']) != "")
echo $_GET['QuoteText'];
else
echo "COMMENTS HERE :)";
?>
</textarea>