Hello WorldMy name is Jerky Turkey!
6 + 4 is equal to 10
$b + $a is equal to 10
6 + 4 is equal to 10
Code:
<html>
<head>
<title>PHP TEST YAHHH</title>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body>
<div class="topbar">
<?php
include 'navbar.php';
?>
</div>
<?php
$myName = "Jerky Turkey!";
echo 'Hello World';
echo 'My name is '.$myName;
echo '<br>';
$a = 4;
$b = 6;
echo $b.' + '.$a.' is equal to '.($b + $a); //works because of concatenation
echo '<br>';
echo '$b + $a is equal to '.($b + $a); //shows up as the var names
echo '<br>';
echo "$b + $a is equal to ".($b + $a); //works because of double quotes
?>
<div class="codebox">
<h3>Code:</h3>
<?php
highlight_file("ex001.php");
?>
</div>
</body>
</html>