Dear All,
I am using fck editor embedded php coding for my content management system.
Please see the code of the form page
<!-- FORM PAGE -->
$oFCKeditor = new FCKeditor('cmsTextEnglish') ;
$oFCKeditor->BasePath = 'FCKeditor/';
$oFCKeditor->Value = "$dataRow->cmsTextEnglish";
$oFCKeditor->Create() ;
<!-- FORM PAGE -->
ACTION PAGE CODE
<!-- CODE -->
$cmsTextEnglish = $POST['cmsTextEnglish'] ;
$cmsTextGreek = $POST['cmsTextGreek'];
$title_en = $POST['title_en'];
$title_gr = $POST['title_gr'];
$lang = $POST['lang'];
$checkid = $POST['checkid'];
// update query for updating the content in to the content table
$sql = "UPDATE cms
SET
englishTitle = '".$title_en."',
cmsTextEnglish = '".$cmsTextEnglish."',
latestUpdated = NOW()
WHERE
cmsID = '$checkid'";
mysql_query($sql);
<!-- CODE -->
My Problem is if the formatting or the text in the fckeditor field is big [large] then the text does not get updated. Do you think the the post variable is getting cutoff after passing the values or is it the problem of mysql database. I dont see any chnages even I submit the form in the database.
For more information I made cmsTextEnglish field name as text datatype in Mysql.
I would be very glad if some one could help me with this.
Thanks in Advance,
Vamsee Vanaparthy