So I set up PHP on a new computer with windows 7 and followed the today.php script from build your own database driven website...
here is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Today’s Date</title>
<meta http-equiv="content-type"
content="text/html; charset=utf-8"/>
</head>
<body>
<p>Today’s date (according to this web server) is
<?php
echo date('1, F dS Y.');
?>
</p>
</body>
</html>
HTML is showing up @ http://localhost/today.php but not PHP.
What could be the issue?
Thanks









Bookmarks