pcman Posted February 17, 2008 Share Posted February 17, 2008 i use FCKEDITOR in this way: $Page_Body = " <form action=\"?action=Admin&admin_action=Add_Page\" method=\"post\"> <input type=\"text\" name=\"Title\" /> ". include_once("fckeditor/fckeditor.php") ; $oFCKeditor = new FCKeditor('Body'); $oFCKeditor->BasePath = 'fckeditor/'; $oFCKeditor->Value = ''; $oFCKeditor->Create() ." <br> <input type=\"submit\" value=\"Submit\" name=\"Send\"> </form> "; but the FCKEDITOR input field be created in the head of the page (the html source code): <!--- ### the FCKEDITOR html code is here =[ -----> <div><input type="hidden" id="Body" name="Body" value="" style="display:none" /><input type="hidden" id="Body___Config" value="" style="display:none" /><iframe id="Body___Frame" src="fckeditor/editor/fckeditor.html?InstanceName=Body&Toolbar=Default" width="100%" height="200" frameborder="0" scrolling="no"></iframe></div> <html> <head> <title>Omer - </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <table style="width:760px;"> <tr> <td> </td> </tr> <tr> <td> <form action="?action=Admin&admin_action=Add_Page" method="post"> <input type="text" name="Title" /> 1 </td> </tr> </table> </body> </html> i want hem in the form... thanks Link to comment https://forums.phpfreaks.com/topic/91537-using-fckeditor/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.