Merge remote-tracking (subtree) branch 'PracticingPhp/master'

This commit is contained in:
Dan Buch
2012-03-03 20:18:34 -05:00
905 changed files with 218528 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<title>php basics</title>
</head>
<body>
<?php
$x = 25;
$y = 10;
$z = $x + $y;
?>
<p><?php printf("\$z=%s", $z); ?></p>
<?php $z = $x / $y; ?>
<p><?php printf("\$z=%s", $z); ?></p>
<?php $z = $y * $y * $x; ?>
<p><?php print $z - 1250; ?></p>
<p>
<?php
$string = "PHP is wonderful and great.";
$string = $string . " " . "All the cool kids are doing it.";
print $string;
?>
</p>
</body>
</html>