hi, i'm new to php and i've tried to test this piece of code. it worked well before with the right output. but when i tried it again it didn't worked out. the same with connection to database, it worked well before but now it doesn't even connected to the database. this is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[
www.w3.org];
<html xmlns="[
www.w3.org];
<head>
<title>Today's Date</title>
<meta http-equiv="content-type"
content="text/html; charset=iso-8859-1" />
</head>
<body>
<p>Today's Date (according to this Web server) is
<?php
echo date('l, F dS Y.');
?></p>
</body>
</html>
the output is:
Today's Date (according to this Web server) is
note:it fails to fetch the date from the server.
plz help