hi..i am new to the editor concepts.i used fckeditor to change the fonts for php.i used php object to implement it with the textarea i am able to do that.but when i enter the data to the database in a paragraph its working fine.but if i enter suppose
line3.. its taking the space. so what i did while entering the data only i tried to remove the space using the trim () and addslases().i tried all the possiblites. and then to find the stringlength but still its taking the same with counting the space..
i want my data to appear as :line1line2line3.. because later i need to find the substr() upon the inserted data so..please anyone help me.. here is my code:
echo $q="insert into xyz(descr)values('$des')";
this is fck code:
$oFCKeditor=new FCKeditor('descr') ;
$oFCKeditor->Width = '700px' ;
$oFCKeditor->Height = '350px' ;
please give ur suggestion.. hw can i do that.