not getting post value from tinyme in php -
i new tinymce editor. have used on site facing little problem is, when add class textarea content not update, means not values $_post. when remove editor class textarea values , content updated.. below code please ??
<script type="text/javascript" src="javascript/tinymce/tiny_mce.js?1"></script> <textarea id="wysiwyg" name="longdescription" style="padding: 0; width: 100%; height: 250px;" placeholder="type description product here..."><?php echo $editdetails;?></textarea> if( $_post['update']){ $details= mysql_real_escape_string( strip_tags( $_post["longdescription"] ) ) ; //update query// }
how post value ?? in $details variable ?? getting value without using id="wysiwyg"
found solution
i removed mysql_real_escape_string( strip_tags()) from
mysql_real_escape_string( strip_tags( $_post["longdescription"] ) ) ;
Comments
Post a Comment