TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,038
  • Total Topics: 21,335
  • Online today: 321
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Long php script breaks article editor

Started by DarkRedMage, April 29, 2008, 07:10:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DarkRedMage

I am wondering if this is a bug or if its just happened to me, but I have a long php based form for my guild's application and its pretty much borked the article editor for that one article and it sucks because  I'd like to be able to change the application when I want with out having to try and start a whole new article. I will post the code if it is needed, but for the time being I will post an image of what the article editor looks like when editing the article.



Help me please...

IchBin

Its probably the <textarea> bug. For some reason that tag gets screwed up when saving. You'll see if you look at other scripts here that people are breaking it up in their echo statement to avoid this in a php type article.

for example.
echo '<text'.'area>';

DarkRedMage

Thanks for the help, after looking back at the original un-edited code that I had copied to setup the form I did see what you meant and for me it was the last half of the <textarea> tags that was the problem. I fixed it with a small code clip from the original code which made a <textarea> code line look as such:

<textarea id ="charter" name ="charter" rows="4" cols="40"  value ="'; echo '" ></' . 'TEXTAREA>

Again, thanks for the help, was much appreciated.

This website is proudly hosted on Crocweb Cloud Website Hosting.