572 B
572 B
title | localeTitle |
---|---|
Syntax | Sintaxis |
Sintaxis
PHP es un lenguaje que le permite incluir contenido dinámico en páginas web estáticas. Está escrito en línea con html, simplemente cambiar el nombre de un archivo .html a .php (servidor web debe tener instalado PHP) para empezar.
<!DOCTYPE html>
<html>
<head>
<title>PHP Example</title>
</head>
<body>
<h1>PHP Example</h1>
<?php
echo "Hello World from PHP!";
?>
</body>
</html>