config.php
Código PHP:
<?php
function pass_form()
{
?>
<form action="index.html" method="post">
<h3>Por favor, inicia sesión</h3>
Nombre: <input type="text" name="nombre de usuario"><br>
Contraseña: <input type="password" name="Contraseña"><br><br>
<input type="submit" name="submit" value="iniciar sesión">
</form>
<?
}
?>
Código HTML:
<html> <head> <title>Portada Juegos</title> </head> <body> <h1><u>Base de Datos de Juegos</u></h1> <?php include("config.php"); ?> <?php pass_form(); ?> </body> </html>
¿Que estoy haciendo mal?