Re: is my php working
| From: | Cris Harrison | Date: | Mon, 16 Jun 2003 19:51:47 +0000 |
| Subject: | Re: is my php working | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11095@lists.php.net to get a copy of this message | ||
At 12:03 AM 6/16/2003 +0300, BAO RuiXian wrote:
Hello, Merry,Merry please see www.phoenixcomm.net/~harrison/test3.php the code follows: <?php $YourName = "Merry";Your php script works fine from my testing, and the result is as follows:Today's date: Sunday June 15, 2003 MerryI 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
$Today = date("l F d, Y");
?>
<html>
<body>
Today's date:
<?php
print("$Today\n");
print("$YourName");
?>
</body>
</html>
Good Luck
Cris Harrison
"Sex, Drugs and UNIX"
webmaster@phoenixcomm.net