vamsee Posted August 30, 2006 Share Posted August 30, 2006 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 cmsSET englishTitle = '".$title_en."', cmsTextEnglish = '".$cmsTextEnglish."', latestUpdated = NOW()WHEREcmsID = '$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 Quote Link to comment https://forums.phpfreaks.com/topic/19115-php-_postvariable-issue/ Share on other sites More sharing options...
ronverdonk Posted August 30, 2006 Share Posted August 30, 2006 Would addslashes help here? As in[code]englishTitle = '".addslashes($title_en)."', cmsTextEnglish = '".addslashes($cmsTextEnglish)."', [/code] Ronald 8) Quote Link to comment https://forums.phpfreaks.com/topic/19115-php-_postvariable-issue/#findComment-82697 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.