Register|Login

Have a question? Click here to ask the community.

Tutorial 2 – PHP Syntax

| In: 2. Syntax | 21,068 views

Video Tutorial


Video Source Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<html>
<head>
<title>The PHP Tutorial For Syntax</title>
</head>
<body>
Hello Robert 1
 
<!-- Standard Form -->
<?php
 
    echo "Hello Robert 2";
?>
 
<!-- Shorthand Form -->
<?
 
?>
 
<!-- Semicolon Example -->
<?php
    echo "Hello Youtubers";
    echo "Hello Robert";
    echo "Hello World";
    echo "What are you doing?";
    echo "We are learning some PHP!";
?>
 
<!-- Whitespace Example -->
<?php
    echo "Hello Youtubers";
 
    echo "Hello Robert";
 
    echo "Hello World";
 
    echo "What are you doing?";
    echo "We are learning some PHP!";
?>
</body>
</html>

Comment Form

You must be logged in to post a comment.