cwilliams Posted October 26, 2010 Share Posted October 26, 2010 I'm having a problem with some php code that allows you to edit a text file. No matter what file it loads, it always adds four horizontal tabs and two spaces to the end of the text. I've attached the code to this post. If anyone can help me with this, it would be greatly appreciated. Cindy [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/216876-textarea-code-adds-unwanted-extra-data-to-the-end/ Share on other sites More sharing options...
PFMaBiSmAd Posted October 26, 2010 Share Posted October 26, 2010 EVERYTHING that is between the <textarea></textarea> tags in your source code is part of the data of that text area. You would need to put the </textarea> tag immediately following the closing ?> php tag - ?></textarea> Link to comment https://forums.phpfreaks.com/topic/216876-textarea-code-adds-unwanted-extra-data-to-the-end/#findComment-1126637 Share on other sites More sharing options...
cwilliams Posted October 26, 2010 Author Share Posted October 26, 2010 I just knew it had to be something simple that I was overlooking. That did the trick! Thank You PFMaBiSmAd Cindy Link to comment https://forums.phpfreaks.com/topic/216876-textarea-code-adds-unwanted-extra-data-to-the-end/#findComment-1126640 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.