At 12:03 AM 6/16/2003 +0300, BAO RuiXian wrote:
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
Merry please see www.phoenixcomm.net/~harrison/test3.php
the code follows:
<?php $YourName = "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@xxxxxxxxxxxxxxx
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|