--- paul_2000_paul <[EMAIL PROTECTED]> wrote:

> I have a simple html file using php echo.  When the html is 
> executed  the following is displayed <?php echo $DT; ?>
> 
> Any Ides
> 
> !--login.html-->
> <html>
> <head>
> <title>Login Entry Point</title>
> </head>
> <body bgcolor="#ddffee">
> <?php
> echo date("l");
> $DT="xxxx"; 
> ?> 
> <form action="log2db.php" method="POST">
> <input type="text" name="date_time1" value="<?php echo $DT; ?>">
> </form>
> </body>
> </html>
> <!--end of script-->

Your filename ends in ".html" and on most servers this sort of file will not be
processed by the PHP engine.  It should be named with a ".php" extension
instead.

James

Reply via email to