November 15th, 1999, 08:56 AM
is there a way to format the text from a multi-line textfield (html), including line breaks, tabs etc. and to properly insert it into a mysql-table ?
December 1st, 1999, 05:49 PM
I don't know if this answers your question, but this is what I do:
<TEXTAREA WRAP="OFF" NAME="DESC" ROWS="15" COLS="60"></TEXTAREA>
(I don't change the formatting at all when writing to MySQL)
print "<PRE>" . $db->row . "</PRE>n";
Where $db->row is what is returned from my query for DESC
Hope this helps,
December 2nd, 1999, 03:50 AM
thanks, it was my fault, i just forgot to convert the output string using nl2br()...