I have a problem with adding content to a textarea What i'm trying to do is make a database driven newspage... When i'm modifying it I want to see the old values in a textarea so I can change it [code] <textarea name="news" class="txtbox" rows="10" cols="30"><?php echo $assoc['news']?></textarea> [/code] The text from the database get's entered correctly but after the text are a lot of spaces and I cant figure out an easy way to remove them! This only happens if I use phpfunctions to display the data, if I type the text it get's displayed as it should.... edit: Problem solved itself....