i have defined a column in my mysql database as :
ALTER TABLE `my_table` CHANGE `desc` `desc` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL
But when i enter a text from my front end to insert into the table , after the size of column data reaches 233 it truncates further text added ie text beyond 233 character is not saved !!
i tried changing size of column to VARCHAR(511) but achieved no success.
i counted the nos of characters using php strlen()
and it revealed 233 characters
Why is MySQL doing this , and how can i save the text ?