PHP FCKeditor cilt yol sorunu?

1 Cevap php

Ben FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ; http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/SkinPath öğretici formu kullanarak cilt yolunu değiştirmek için görünmüyor olabilir. Ben aşağıda listelenen aşağıdaki hatayı alıyorum. Bunu nasıl düzeltebilirim?

Parse error: syntax error, unexpected '=' 

Aşağıda FCKeditor PHP kodudur.

<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '../../fckeditor/' ;
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
$oFCKeditor->Create() ;
?>

İşte cilt kodu ile FCKeditor olduğunu.

<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '../../fckeditor/' ;
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ;
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
$oFCKeditor->Create() ;
?>

Hat 5 bana sorun veriyor.

1 Cevap

Sen JavaScript sözdizimini kullanarak, ancak PHP entegrasyonu kullanmanız gerekir: http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Integration/PHP