burnedfaceless
asked on
php error date/time
I'm going through a book for the second time and I got the following error message for the following script.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/1999/xhtml" xml: lang="en" lang = "en">
<head>
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('l, F dS Y.');
?>
</body>
</html>
FWIW last time I did this I used an actual server on a site and I'm assuming it could have been set not to display errors.
Screen-Shot-2013-12-03-at-8.48.1.png
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/1999/xhtml" xml: lang="en" lang = "en">
<head>
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('l, F dS Y.');
?>
</body>
</html>
FWIW last time I did this I used an actual server on a site and I'm assuming it could have been set not to display errors.
Screen-Shot-2013-12-03-at-8.48.1.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window