Monday, December 21, 2009

Section A.3. Chapter 3










A.3. Chapter 3




Solution to Question 3-1


Everything renders as text; there is no code.




Solution to Question 3-2


HTML markup.




Solution to Question 3-3


By using two slash (//) marks.




Solution to Question 3-4


Single-line comments, which are indicated by two slash (//) marks, and multiline comments, which are indicated by an asterisk and slash. Use (/*) to open a multiline comment and (*/) to close it.




Solution to Question 3-5


A semicolon (;) ends all statements in PHP.




Solution to Question 3-6


A value.




Solution to Question 3-7


By using the following form: $variable_name = value;




Solution to Question 3-8


Yes.




Solution to Question 3-9


They allow you to group code chunks together and execute them by their names.




Solution to Question 3-10


A super global.




Solution to Question 3-11


By using the backslash (\).




Solution to Question 3-12


It compares two strings, including case.




Solution to Question 3-13


Concatenation.




Solution to Question 3-14


A string.













No comments: