HTML Tutorial
PHP variables
Free Tutorial online >> PHP Variables
PHP variables are true "containers" for storing information and always start with a dollar sign ($), followed directly by the variable name, then an "equal sign" (=), and followed the text included in quotation marks with ("), followed by ( ;) as a command end.
Simple Variables PHP code, example - how to create
Nn example of a simple PHP code, with a PHP script that uses a built-in PHP function as "echo" or "print" to output the text in browser "Hello World!"
Example:
<HTML>
<head>
<title>
Simple Variables PHP code
</ title>
</ head>
<body>
Simple Variables PHP code <br>
<?php
$text = "This is a Simple Variables PHP code - Hello world!";
$x = 55;
$y = 12.56;
?>
</ body>
</ HTML>
<head>
<title>
</ head>
<body>
Simple Variables PHP code <br>
<?php
$text = "This is a Simple Variables PHP code - Hello world!";
$x = 55;
$y = 12.56;
?>
</ HTML>
Note: The PHP statements end with a semicolon (;).
the variable $text will hold the value "This is a Simple Variables PHP code - Hello world!", the variable $x will hold the value 55, and the variable $y will hold the value 12.56.
PHP Variables - php tutorial
Online Editor
This tool makes it easy to create, adjust, and experiment with custom colors for the web.
HTML Templates

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.
CSS HTML Layout

Find here examples of creative and unique website layouts.
Free CSS HTML Menu

Find here examples of creative and unique website CSS HTML menu.