Hour 3. A First Script

What You’ll Learn in This Hour:

  • How to create, upload, and run a PHP script

  • How to incorporate HTML and PHP in the same document

  • How to make your code clearer with comments

You installed and configured PHP in the last hour. It is now time to put it to the test. In this hour, you will create your first script and spend a little time analyzing its syntax. By the end of the hour, you should be ready to create documents that include both HTML and PHP.

Get Sams Teach Yourself PHP in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.