can't start with a number or contain special character
command for printing html code
echo " this is the code "
Concate operator that connects things
.
Operators for
And
OR
Exclusive OR
&&
||
XOR - As in both can't be right.
How does a while loop work?
while (certain condition bob > joe) {
run this code
increment a variable
}
for loop how does it run
for (establish variable; condition;increment) {
run code
}
Whats a switch statement and how is it run?
The statement looks at a expression, such as a variable, and then evaluates each case to see if it fits the expression. Break makes it so that it does run to the next expression. Default is at the end for something that doesn't match anything.
switch ($variable){
case "condtion to match": '
code to be executed if n=label1;
break;
default: code to be executed if n is different from both label1 and label2;}