Dynamic PHP page creation
<?
$site_title = "title";
$bg_color = "white";
$user_name = "Name";
?>
<html>
<head>
<title><? print $site_title; ?></title>
</head>
<body bgcolor="<? print $bg_color; ?>" >
<?
print "
PHP | ".date("F d, Y")." <br>
Greetings, $user_name! <br>
";
?>
</body>
</html>
Related examples in the same category