take user data by text area in php use nl2br() ,
-then save it to the database it will save in database with <br>
when show that it will automatically shows with <br> ,
but if you want show in input tag or inside text area then <br>
will be shown there to avoid that we need to use a function called
strip_tags
use strip_tags($message); to show inside input box or inside in textarea
0 Comments