PHP embeded in HTML
Posted: Fri Jan 07, 2011 4:49 pm
Hi All,
I am struggling to get the embeded PHP running in my development enviroment without success...
I write the code below and the only message I get in the browser is:
TEST FROM HTML
When I do "View Source" I get:
What I guess means PHP is just not running... Any suggestions or clues about what I am doing wrong... ?
Thanks !
El Vasco
I am struggling to get the embeded PHP running in my development enviroment without success...
I write the code below and the only message I get in the browser is:
TEST FROM HTML
When I do "View Source" I get:
Code: Select all
<html>
<head>
<title> Prueba </title>
</head>
<body>
<h1> TEST FROM HTML </h1>
<?php echo '<h1>TEST FROM PHP</h1>';?>
</body>
</html>Thanks !
El Vasco