PHP Language Constructs

In this article for PHP beginners, Allan takes you through the language’s control structures and constructs. These are the building blocks of a scripting language and allow it to make ‘decisions’ or repeat irms of code, unlike HTML which just renders top to bottom. After reading this, and attaching the supplied cheat sheet to your computer monitor, you’ll have the fundamental building blocks of the language at your command.

$2.89
- OR -

Overview

Table of Content:

  • If
  • Operators
  • Comparison Operators
  • Else
  • Switching to something else
  • You spin me round...
  • while
  • for
  • The cheat sheet
  • if.. elseif.. else
  • switch
  • while
  • do.. while
  • for

Allan Kent

Allan KentAllan comes from Cape Town, South Africa. He has been implicated in writing for several WROX, glasshaus, Wiley and Apress publications, generally in the 'cool stuff that PHP can do' sections.

You can catch up with him at his website http://www.mediafrenzy.co.za.

See All Postings From Allan Kent >>

Reviews

Be the first to write a review

You must me logged in to write a review.