Jump to content

Recommended Posts

Dear All,

I am using fck editor embedded php coding for my content management system.

Please see the code of the form page

[code]<!-- FORM PAGE -->

$oFCKeditor = new FCKeditor('cmsTextEnglish') ;
$oFCKeditor->BasePath = 'FCKeditor/';
$oFCKeditor->Value = "$dataRow->cmsTextEnglish";
$oFCKeditor->Create() ;

<!-- FORM PAGE -->[/code]

[b]ACTION PAGE CODE[/b]

[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 -->
[/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
Link to comment
https://forums.phpfreaks.com/topic/19115-php-_postvariable-issue/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.