Hi there,
I've just installed a PHP based webpage on my pc running apache server locally.
I've found some trouble wen trying to integrate FCK editor in my PHP news editor. I modified sories.php in the following way:echo "<br><br><b>"._ STORYTEXT."</b><br>";
//."<textarea wrap=\"virtual\ " cols=\"50\" rows=\"7\" name=\"hometext \">$story</textarea><br><b r>"
// Editor Start
$oFCKeditor = new FCKeditor(homet ext) ;
$oFCKeditor->InstanceName = "hometext" ;
$oFCKeditor->Value = "$story" ;
$oFCKeditor->ToolbarSet = "Default" ;
$oFCKeditor->Create() ;
// Editor Ende
echo."<b>"._EXT ENDEDTEXT."</b><br>"
."<textarea wrap=\"virtual\ " cols=\"50\" rows=\"8\" name=\"bodytext \">$storyext </textarea><BR>"
."<font class=\"content \">"._AREYOUSUR E."</font><br><br>"
."<b>"._NOTES." </b><br>"
............... ............... ............... ............... ............... .etc.
when I click addstories in my administrator area, this is what turns up:
Parse error: parse error, expecting `','' or `';'' in c:\archivos de programa\appser v\www\html\admi n\modules\stori es.php on line 711
Being line 771 the following: linea 711 echo."<b>"._EXT ENDEDTEXT."</b><br>"
I´d appreciate any help...........
I've just installed a PHP based webpage on my pc running apache server locally.
I've found some trouble wen trying to integrate FCK editor in my PHP news editor. I modified sories.php in the following way:echo "<br><br><b>"._ STORYTEXT."</b><br>";
//."<textarea wrap=\"virtual\ " cols=\"50\" rows=\"7\" name=\"hometext \">$story</textarea><br><b r>"
// Editor Start
$oFCKeditor = new FCKeditor(homet ext) ;
$oFCKeditor->InstanceName = "hometext" ;
$oFCKeditor->Value = "$story" ;
$oFCKeditor->ToolbarSet = "Default" ;
$oFCKeditor->Create() ;
// Editor Ende
echo."<b>"._EXT ENDEDTEXT."</b><br>"
."<textarea wrap=\"virtual\ " cols=\"50\" rows=\"8\" name=\"bodytext \">$storyext </textarea><BR>"
."<font class=\"content \">"._AREYOUSUR E."</font><br><br>"
."<b>"._NOTES." </b><br>"
............... ............... ............... ............... ............... .etc.
when I click addstories in my administrator area, this is what turns up:
Parse error: parse error, expecting `','' or `';'' in c:\archivos de programa\appser v\www\html\admi n\modules\stori es.php on line 711
Being line 771 the following: linea 711 echo."<b>"._EXT ENDEDTEXT."</b><br>"
I´d appreciate any help...........
Comment