Html4newbies
Put your hands into html and php
Home
Privacy
About
Contact

Hosting Links
Hosting
Free Php Snippets
Php Snippets 1
Php Snippets 2
Php Variable


Using Variables

<?php 
$hello = "Hello World!"; 
 echo $hello;
?>



A variable is a means of storing a value, such as text string "Hello World"
You store a variable as such:
$variablename = Value;
You can not forget the Dollar sign or it will not work, and is a common mistake with new php coders.


Copyright © 2002-2017 Html4newbies - Html4newbies.com NetWork