I'm using a textarea to insert some notes into a database.
It's inserting the complete result into the mySQL table including the
linebreaks...an d not as a visible symbol but an actual linebreak. If I
select the fireld in mySQL at a command prompt, the results take an
inordinate amount of space from all the linebreaks.
I tried nl2br() before it goes into the INSERT, but all that does is ADD <br
/> to the data but it still have linebreaks in the field.
Is there some way to replace linebreaks with something else than the break
itself so I can save database space?
Thanks!
It's inserting the complete result into the mySQL table including the
linebreaks...an d not as a visible symbol but an actual linebreak. If I
select the fireld in mySQL at a command prompt, the results take an
inordinate amount of space from all the linebreaks.
I tried nl2br() before it goes into the INSERT, but all that does is ADD <br
/> to the data but it still have linebreaks in the field.
Is there some way to replace linebreaks with something else than the break
itself so I can save database space?
Thanks!
Comment