How to Newline in PHP

Save
Next Video:
How to Indent the Second Line in CSS....5

Working with newline in the PHP programming language will require you to create a new, blank text document. Learn how to newline in PHP with help from a self-taught web developer in this free video clip.

Part of the Video Series: Web Programming
Promoted By Zergnet

Comments

Video Transcript

Hi, I'm Christina Chiu. I'm a computer web specialist, and today I'm going to show you how to newline in PHP. So if we open up our text editor here we create a PHP document. So using the regular syntax, less than, question mark, PHP and have like a test echo statement so echo, hello how are you and the syntax to create a new line would be backslash and quotation marks. There and then again with echo, I am fine, quotation marks, semicolon. So the backslash N is actually how you incorporate a new line and sometimes people like to do echo and the break, line break with the less than br, br. So if you do the whole my name is Earl and you'll get the line break as well. So that is how you create a new line in PHP. Thank you so much for your time. My name is Christina Chiu.

Featured

Related Searches

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!