I downloaded the latest version of FCKeditor yesterday, but I'm not able to get the generated HTML. Obviously, I'm missing something and I'm hoping someone here will help out. I have the following in my test file:
<input type="submit" name="Submit" value="Submit" />
</form>
When I press the submit button, I see the text *UNFORMATTED* in $_POST['description']. If I look at the actual page source, I see HTML tags in it, but they appear incomplete.
Overall, I like the design of FCKeditor, would someone be so kind as to tell me what I'm doing wrong?
tia
---Michael
<form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post" enctype="multipart/form-data" name=TestForm>
<?php $oFCKeditor = new FCKeditor('description') ; $oFCKeditor->BasePath = 'FCKeditor/'; $oFCKeditor->Value = $description; $oFCKeditor->Create() ; ?>
<input type="submit" name="Submit" value="Submit" />
</form>
When I press the submit button, I see the text *UNFORMATTED* in $_POST['description']. If I look at the actual page source, I see HTML tags in it, but they appear incomplete.
Overall, I like the design of FCKeditor, would someone be so kind as to tell me what I'm doing wrong?
tia
---Michael
RE: Can't retrieve HTML
What do the HTML tags in the page source look like?
RE: Can't retrieve HTML
If I display / output the text from post, it shows no formatting. The tags are there in the source, but they apparently are doing nothing.
>What do the HTML tags in the page source look like?
This is a copy and paste from the $_POST variable: Note that FCKedit never closes the quote it put in the style.
Sample <span style=\"font-weight: bold;\>text </span>for test