tengo un problema, nose como incluir un formulariio en codigo php.
He hecho esto, pero tiene errores:
Código HTML:
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Documento sin título</title> </head> <body> <?php if (isset($_POST['nombre'])) { echo "Hola, "; echo $nombre; echo "."; } else {<form id="form1" name="nombre" method="post" action="index.php" enctype="multipart/form-data"> <label>Nombre <input type="text" name="name" /> </label> <p> <label> <input type="submit" name="send" value="Enviar" /> </label> </p> </form>} endif ?> </body> </html>