syntax of newline of code in php

It is for static page, dynamic page, website, SEO, performance and other web development discussion
Joshi jahanvi

syntax of newline of code in php

Postby Joshi jahanvi » Sat Nov 01, 2014 3:39 pm

Why doesn’t the following code print the newline properly? <?php $str = ‘Hello, there.\nHow are you?\nThanks for visiting techpreparation’; print $str; ?>


sonall gajera

Re: syntax of newline of code in php

Postby sonall gajera » Wed Jul 01, 2015 4:47 pm

Syntex of newline of code is: nl2br() Function


Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 1 guest