i have a content stored in mysql like below:
first line
second line
third line
but when i use the echo function it shows the output like this
first line second line third line
however i want to show the output exactly as its saved in mysql.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
echo nl2br($str_from_db);