O'Reilly logo

PHP 7 Quick Scripting Reference, Second Edition by Mikael Olsson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Mikael Olsson 2016

Mikael Olsson, PHP 7 Quick Scripting Reference, 10.1007/978-1-4842-1922-5_1

1. Using PHP

Mikael Olsson

(1)Hammarland, Finland

Electronic supplementary material

The online version of this chapter (doi:10.​1007/​978-1-4842-1922-5_​1) contains supplementary material, which is available to authorized users.

To start developing in PHP, create a plain text file with a .php file extension and open it in the editor of your choice—for example Notepad, jEdit, Dreamweaver, NetBeans, or PHPEclipse. This PHP file can include any HTML, as well as PHP scripting code. Begin by first entering the following minimal markup for an HTML 5 web document.

<!doctype html><html> <head>  <meta charset="UTF-8">  <title>PHP Test</title> </head> <body></body> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required