Jump to content

Textarea code adds unwanted extra data to the end


cwilliams

Recommended Posts

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]

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>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.