Select Page

With PHP, you can display HTML inside of php tags.  A quick simple example, if you had a page called page.php:

<!DOCTYPE html>
<html lang=”en” dir=”ltr”>
<head>
<meta charset=”utf-8″>
<title></title>
</head>
<body>

<?php

$myName = “Mike”;
$myAge = 80;

echo(“My name is $myName and I am $myAge years old. “)

?>

</body>
</html>