Hi Everyone,
I am facing a problem for many days, please guide me if anyone have idea.
I have a php page which contains php code and an html page which contains html form , this html page is included in php page so that we can show form on the page
e.g.
it is addForm.php, and addForm.html contains form and is included in addFrom.php
this is the code i have in php
include("../../FCKeditor/fckeditor.php");
$oFCKeditor = new FCKeditor('detail') ;
$oFCKeditor->BasePath = "../../FCKeditor/";
$oFCKeditor->Value = stripslashes($detail);
$oFCKeditor->Width = '550';
$oFCKeditor->Height = '350';
$FCK_HTML_EDITOR = $oFCKeditor->Create();
and in html i have
<tr>
<td class="labelmediumbig" valign="top"> Detail: <span class="error">*</span></td>
<td>__FCK_HTML_EDITOR__</td>
</tr>
actualy editor with text area must be displayed in this Row. But what happens is ha text area and editor is created at top of the page, above the html form , because it creates text area where it executes line
$FCK_HTML_EDITOR = $oFCKeditor->Create();
I think i have explained my problem well. Kindly help me, it is too urgent to fix this problem.
Thanks
I am facing a problem for many days, please guide me if anyone have idea.
I have a php page which contains php code and an html page which contains html form , this html page is included in php page so that we can show form on the page
e.g.
it is addForm.php, and addForm.html contains form and is included in addFrom.php
this is the code i have in php
include("../../FCKeditor/fckeditor.php");
$oFCKeditor = new FCKeditor('detail') ;
$oFCKeditor->BasePath = "../../FCKeditor/";
$oFCKeditor->Value = stripslashes($detail);
$oFCKeditor->Width = '550';
$oFCKeditor->Height = '350';
$FCK_HTML_EDITOR = $oFCKeditor->Create();
and in html i have
<tr>
<td class="labelmediumbig" valign="top"> Detail: <span class="error">*</span></td>
<td>__FCK_HTML_EDITOR__</td>
</tr>
actualy editor with text area must be displayed in this Row. But what happens is ha text area and editor is created at top of the page, above the html form , because it creates text area where it executes line
$FCK_HTML_EDITOR = $oFCKeditor->Create();
I think i have explained my problem well. Kindly help me, it is too urgent to fix this problem.
Thanks