PHP Syntax

[codesyntax lang=”php” lines=”normal” container=”div”]

<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>

[/codesyntax].

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *