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] Quote 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> Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.