Hi all
I wrote a small code to display HTML code from file as follow:
$html= file_get_contents("templateHTML.php");
echo $html;
file templateHTML.php as follow follwing :
[INDENT]<html>
<head>
<title>Login Form</title>
</head>
<body>
<?php
echo "Login Form!";
?>
</body>
</html>[/INDENT]
But I did not execute PHP echo command. if I did not insert PHP command inside just normal html, it is OK.
So, my question is how to execute php commands in my templatePHP.php file
Thanks
Matt