Re: is my php working
| From: | BAO RuiXian | Date: | Sun, 15 Jun 2003 21:03:49 +0000 |
| Subject: | Re: is my php working | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11087@lists.php.net to get a copy of this message | ||
Hello, Merry,
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