Assignment035 - Datatypes

Variables and constants hold specific datatypes. These include:

For example:Datatypes



<html>
<head>
<title>Datatypes.php</title>
</head>
<body>
<?php
//Online Banking Balance Display
//Set the variables
$yearsofservice=10//integer
$balance=115000.00;  //double
$message "Welcome to Bank of Coalinga."//string
$vip=true//boolean

//Display browser output
print("<h1>".$message."</h1>");
print(
"Your balance is ".$balance);
print(
"<br><br>");
print(
"VIP Status: ".$vip);
print(
"<br><br>");
print(
$yearsofservice." year customer.");
?>
</body>
</html>