Posted by:
yen
(---.prod-infinitum.com.mx)
Today I installed WampServer 2.5, when i write the next test code and I run it, I could see that the tags <?php and ?> didnĀ“t work correct. Can some one help me? Thank you.
PHP Code:
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="iso-8859-1"/>
<title>Hello World!!!</title>
<link rel="stylesheet" href="aaa.css"/>
</head>
<body>
<header>
</header>
<nav>
</nav>
<section>
<p>This message is writting in HTML</p>
<?php
print("<p>Hello World!!!!.... This message was writting by PHP Interpreter </p>"
;
?>
</section>
<aside>
</aside>
<footer>
</footer>
</body>
</html>
***************************************************************************************************
Code delivered by Chrome:
In Screen:
This message is writting in HTML
Hello World!!!!.... This message was writting by PHP Interpreter
"
; ?>
***************************************************************************************************
Inspect Element Screen
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="iso-8859-1"/>
<title>Hola Mundo!!!</title>
<link rel="stylesheet" href="aaa.css"/>
</head>
<body>
<header>
</header>
<nav>
</nav>
<section>
<p>This message is writting in HTML</p>
<?php
print("<p>Hello World!!!!.... This message was writting by PHP Interpreter</p>"
;
?>
</section>
<aside>
</aside>
<footer>
</footer>
</body>
</html>