Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

php new line

Posted on 2009-12-27
2
Medium Priority
?
185 Views
Last Modified: 2012-05-08

echo "Pageviews = ". $_SESSION['views']\n; //retrieve data


how can i make it statrt new line

I try /n and \n it not work
0
Comment
Question by:teera
  • 2
2 Comments
 
LVL 83

Accepted Solution

by:
leakim971 earned 1000 total points
ID: 26128858
Hello teera,

Add : <br>
echo "Pageviews = ". $_SESSION['views'] . "<br>";

Open in new window

0
 
LVL 83

Expert Comment

by:leakim971
ID: 26128860
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month20 days, 16 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question