Cameron Garnett/Testpage6
From WikiEducator
Super Quick PHP Tutorial
Introduction | Basic Syntax | Sending Data to the Browser | Comments | Variables | Strings | Functions | Quotes | Debugging | Form
Learning ObjectivesBy the end of this page you will know how to write comments with php code. |
Comments
When you are working with comments you dont have to have a semicolon at the end of a line. Comments are jus text that don't get parsed or recognised by the browser and therefore wont be displayed.
to view a working file of this code click: https://drive.google.com/open?id=0B32fRC9Ry0IrWlREQkszTEFTaDg&authuser=0
ACTIVITYwrite the above block of code into notepad ++ and get yourself familiar with the different ways you can comment out your code. |