Example of Data Use

Saturday

Saturday 24th of October 2026 09:07:19 AM

Christmas this year will be on Friday 25th of December 2026

There are 61 days until Christmas

Example of Loading a Server based File


My First PHP Page

This is some PHP that says Hello and Happy Birthday.

Extra Stuff Shown as Size $size"; } echo "hello ".$_GET['name']; */ for ($i = 0; $i < 4; $i++) { if ($i == 2) { echo "

Happy Birthday Dear ".$_GET['name']."

"; continue; } echo "

Happy Birthday to You

"; } ?>

Display the HTML

<!DOCTYPE html>
<html >

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>My First PHP Page</title>
</head>

<body>

<p>This is some PHP that says Hello and Happy Birthday.</p>

<?php
	
	/* for ($size = 1; $size < 7; $size++)
	{
		echo "<h".$size.">Extra Stuff Shown as Size $size</h".$size.">";
	}
	echo "hello ".$_GET['name'];
	*/
	for ($i = 0; $i < 4; $i++)
	{
		if ($i == 2)
		{
			echo "<p>Happy Birthday Dear ".$_GET['name']."</p>";
			continue;
		}
		echo "<p>Happy Birthday to You</p>";
	}  





?>

</body>

</html>