Chapter
PHP Tags
From ComputerScienceOne by Dr Chris Bourke
Concepts
- How do PHP tags distinguish PHP code from static text?
"PHP code can be interleaved with static HTML or text. Because of this, we need a way to indicate what should be interpreted as PHP and what should be treated as static text. We can do this using PHP
- How can PHP libraries and math functions be used?
"PHP has many built-in functions that you can use. These standard libraries are loaded and available to use without any special command to import or include them. Full documentation on each of these f
- How are comments written in PHP code?
"Comments can be written in PHP code either as a single line using two forward slashes, //comment or as a multiline comment using a combination of forward slash and asterisk: /* comment */. With a sin