O'Reilly logo

PHP for Teens by Maneesh Sethi

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

Chapter 6. The Style Factor

This is the last chapter of the first part! Thus far, we’ve learned a lot about PHP programming, including designing a web page and forms, using variables and operators, and communicating with expressions in our web pages. All of these items are very important in PHP programming, but there is one part we have neglected to talk about so far: style. I use the word style in the sense of cleanliness and orderliness of your code. Whenever you develop a web page, you are going to have to write some code. This code, whether it is in HTML or PHP, can get rather large and ugly, so it is very important that you keep some structure within it.

No matter in what language you are writing your programs, your code style can become ...

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