Change the page extension to .php so the server knows it's actually supposed to compile the page. You'll have to view if from a server and not just in your local web browser (from an http:// address, not a file:\\\ address ...) or it won't display.
May you always have enough, Shay -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of paul_2000_paul Sent: Saturday, September 22, 2007 4:27 AM To: [email protected] Subject: [php-list] PHP 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--> Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links
