<HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>

<?php

# Variables in PHP

# Variables in php must begin with $
# Variables are not declared of any particular type.
# A variable must begin with a letter or underscore.
# Varibales are case sensitive.
# Variable names can contain only letters, underscore, and numbers.
/* You can assign to a variable a value of a certain type, e.g. string,
and then change it to adifferent one, e.g. integral.
*/

$name = "Fredonia";
$state = "NY";
$zip = 14063;

echo "$name, $state $zip";

echo "<BR>";

# echo $name, $state  $zip; #ERROR

echo $name, ", ", $state, ' ', $zip;

echo "<BR>" . $name. ', '. $state. ' ' . $zip;

$i = $name. ", ". $state;

echo "<BR>$i";

?>

</BODY>
</HTML>
