PHP Video Tutorial 3: Basic Syntax and Comments
No comments yet.
No trackbacks yet.
PHP #6: Even More Control Structures
about 1 year ago - No comments
So far we have learned about the following control structures:
if, elseif, else
while
for
But there are still more. We’ll first look at the switch construct.
Switch
The syntax for a switch statement looks something like this:
12345678910switch (expression) {
case value1:
//some code
case value2:
//some code
case value3:
More >
HTML 4/XHTML 1.0 Tag List
about 1 year ago - No comments
DTD referrs to the doc type and indicated which tags are allowed F = Frameset, S = Strict T = Transitional.
Tag
Description
DTD
XHTML 1.1
<!–…–>
Comment in HTML
FST
YES
<!DOCTYPE>
Sets document type
FST
YES
<a>
Sets an anchor
FST
YES
<abbr>
Sets an abbreviation
FST
YES
<acronym>
Sets an acronym
FST
YES
<addres>
Sets contact information for the author/owner of a document
FST
YES
<applet>
Deprecated: Sets an embedded applet
FT
NO
<area />
Sets an area inside an image-map
FST
NO
<b>
Sets bold More >
PHP #5: More Loops
about 1 year ago - No comments
There are a few other types of loops in addition to while loops that we learned about in Part 4.
Do-While Loop
A do-while loop is very similar to a while loop. The only difference is that the condition is evaluated after each loop iteration, rather than before. The syntax is like this:
123do {
// More >
PHP Video Tutorial 8: Comparison and Logical Operators
about 2 years ago - 1 comment
PHP Video Tutorial 7: If-Else Statements
about 2 years ago - 2 comments
PHP Video Tutorial 6: Newlines in Strings
about 2 years ago - No comments
PHP Video Tutorial 5: Variable Types
about 2 years ago - 1 comment
PHP Video Tutorial 4: Variables and Constants
about 2 years ago - 1 comment
PHP Video Tutorial 2: Includes and Requires
about 2 years ago - 1 comment
PHP Video Tutorial 1: What PHP is and How it works
about 2 years ago - No comments
