Only  this is enough

<html>
<body>
<?php
   echo "Hello word";
?>
</body>
</html>

You sample are correct, you probably have problem in php install



"Dash McElroy" <[EMAIL PROTECTED]> escreveu na mensagem
ABA3F1F1A223D411BE6C006008A6F7E26043CA@MSX1-PTON">news:ABA3F1F1A223D411BE6C006008A6F7E26043CA@MSX1-PTON...
> Try and view your source. If you see PHP code, then you haven't configured
> your webserver correctly.
>
> -Dash
>
> -----Original Message-----
> From: Arthur [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 8:07 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: Beginner question - blank php page
>
>
> My setup:
>
> Win98
> Apache 1.3 (docs say v2 not work on win98)
> PHP4
> File = htdocs/test.php (test.html works fine)
> Code:
> <html>
> <body>
> <?php
> $myvar = "Hello World1";
> echo $myvar;
> print ("Hello World 2");
> ?>
> </body>
> </html>
>
> --
> -----------------------------------------------------
> Click here for Free Video!!
> http://www.gohip.com/free_video/
>
> "Arthur" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Just installed php for the first time. Called up a hello wold page and
the
> > page is blank. Can someone tell me what I'm doing wrong?
> >
> > TIA Arthur
> >
> > --
> > -----------------------------------------------------
> > Click here for Free Video!!
> > http://www.gohip.com/free_video/
> >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



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

Reply via email to