i m inserting data in a mediumtext field in phpmyadmin when i am fetching it within a table's cell it is not shown the way i had inserted in the textarea means it is not in the same format.
i am showing an example:
my original text:
A quick brown fox jumps over
the lazy dog
A quick brown fox jumps over
the lazy dog
A quick brown fox jumps over
the lazy dog
text shown in the table'c cell
A quick brown fox jumps over the lazy dog A quick brown fox jumps over
the lazy dog A quick brown fox jumps over
the lazy dog
does anybody can help me to solve it
textarea problem
Moderator: General Moderators
It's is showing the same... But html is not rendered the same as text in most (any) webbrowser...
Anyway, http://www.php.net/nl2br is a good start...
Anyway, http://www.php.net/nl2br is a good start...