MySQL Forums
Forum List  »  Newbie

Re: what field to use to save text in html from textarea web form field
Posted by: Leonidas Savvides
Date: October 23, 2014 02:54AM

ERROR Again

In edit still show new lines but in present Not after nl2br... I use sthg like:

if ($description != "")
echo "<div style='width:100%; margin-top:10px;'>".nl2br($description)."</div>";

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.