try to use echo instead of print()   :

>>>>>>
echo $myString;
>>>>>>

or, if u realy want to use the print function, try this:

>>>>>>
print("$myString", %s);
>>>>>>

maybe will work

------------------------
Alex Ciurea Greets You
www.netonwave.com


----- Original Message -----
From: "Khoo Merry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 15, 2003 8:09 AM
Subject: [PHP] is my server working


> I'm using windows me, server apache 1.3 for php.
> I had wrote this code and tried it at local host, but the php code didn't
work. The code is like this:
>
> <?
> $Greet = "Hello World"
> $Today = date("l F d, Y");
> ?>
> <html>
> <body>
> Today's date is
> <?
> print("$Today\n");
> print("$Greet");
> ?>
> </body>
> </html>
> Istead of print
> Today's date is Sunday June 14, 2003
> Hello World
> The out put is only "Today's date is". Is my server working with php?
> I am really appreciate if anyone can answer my problem.
> Thank you.
>
> merry
>
>
>
> ---------------------------------
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to