PHP Video Tutorial 3: Basic Syntax and Comments
No comments yet.
No trackbacks yet.
HTML 4/XHTML 1.0 Tag List
about 1 month 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 3 months 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 7 months ago - 1 comment
PHP Video Tutorial 7: If-Else Statements
about 7 months ago - 2 comments
PHP Video Tutorial 6: Newlines in Strings
about 7 months ago - No comments
PHP Video Tutorial 5: Variable Types
about 7 months ago - 1 comment
PHP Video Tutorial 4: Variables and Constants
about 7 months ago - 1 comment
PHP Video Tutorial 2: Includes and Requires
about 7 months ago - 1 comment
PHP Video Tutorial 1: What PHP is and How it works
about 7 months ago - No comments
PHP #3: If, Else If, Else Statements
about 8 months ago - No comments
Welcome to part 3 of these basics of PHP tutorials. In this part, we are going to learn how to make if statements.
The syntax for an if statement look like this:
123if (condition) {
//Run this code if condition is true
}
Where it says “condition” we insert a Boolean expression, an expression that either has More >



