jarvis Posted October 21, 2009 Share Posted October 21, 2009 Hi All, Probably very simple but; I've got fckeditor installed on a CMS, whenever you add an image or a link, it saves the info twice and seperate the entire duplicate content with Quote: " /> It's as if it's not closing a tag. Has anyone else had this or knows how to resolve it? Just as a subnote: My line of code is: Code: <td><textarea rows="20" name="content" cols="60" value="' . $row[4] . '" />' . $row[4] . '</textarea></td> The duplicate " /> is coming in from the above as I've removed the space in the above line so it's just "/> and this is then what appears in the duplicate text. Hmmm.... Link to comment https://forums.phpfreaks.com/topic/178472-fckeditor-duplicate-text-issue/ Share on other sites More sharing options...
Bricktop Posted October 21, 2009 Share Posted October 21, 2009 Hi jarvis, You can't assign a value= to a textarea. The correct syntax would be: <td><textarea rows="20" name="content" cols="60" />' . $row[4] . '</textarea></td> Hope this helps. Link to comment https://forums.phpfreaks.com/topic/178472-fckeditor-duplicate-text-issue/#findComment-941160 Share on other sites More sharing options...
jarvis Posted October 21, 2009 Author Share Posted October 21, 2009 Thanx bricktop, of course! I was working on the theory that as this was the edit page, you needed to retrieve the value and also display it! I'll go give that a bash! Link to comment https://forums.phpfreaks.com/topic/178472-fckeditor-duplicate-text-issue/#findComment-941163 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.