Your php script works fine from my testing, and the result is as follows:
Today's date: Sunday June 15, 2003 Merry
I think there must be some settings unright in your php install.
Best
Bao
MerryE wrote:
I'm a beginner, I use windows me with apache 1.3 for my php.I had configure my apache with php.
I wrote this code and tried it out on my local host but the php code is not working.
<? $YourName = "Merry";
$Today = date("l F d, Y");
?>
<html>
<body>
Today's date:
<?
print("$Today\n");
print("$YourName");
?>
</body>
</html>
Istead of come out Today's date: Sunday June 14, 2003
Merry
The out put is only Today's date: only. Why? Can anyone help answer my problem?
Thank you
Merry
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php