OK, so i'm using FCK to enter and edit text in a MYSql db. Entering the text works fine, but unfortunately, if i type a " or insert a link, the " from the link breaks the editor when i retrieve the content from the db. in effect, i cannot edit the content from the db because it only shows the text up to that quote.
so here is how i have included the editor on my page:
<IFRAME src="FCKeditor/fckeditor.php?FieldName=article&Toolbar=Mark" width="500px" height="300px" frameborder="no" scrolling="no"></IFRAME>
now, i'm figuring it has something to do with the " for the value in the hidden input field, so i switched to single quotes, but that broke it whenevr there was a single quote in the text... so you see my problem.
is there any way to fix this?
so here is how i have included the editor on my page:
<IFRAME src="FCKeditor/fckeditor.php?FieldName=article&Toolbar=Mark" width="500px" height="300px" frameborder="no" scrolling="no"></IFRAME>
<input type="Hidden" name="article" value="<?php echo $article ?>"><br>
now, i'm figuring it has something to do with the " for the value in the hidden input field, so i switched to single quotes, but that broke it whenevr there was a single quote in the text... so you see my problem.
is there any way to fix this?
RE: editing html conent from db screwed up