Hecho toda las bases en HTML y PHP

This commit is contained in:
2021-04-27 19:39:51 -03:00
parent 3c1f68efcc
commit 975f7ee1c3
3 changed files with 10 additions and 13 deletions

5
backEnd.php Normal file
View File

@@ -0,0 +1,5 @@
<?php
echo print_r($_POST);
?>

View File

@@ -7,11 +7,11 @@
<title>Formulario</title> <title>Formulario</title>
</head> </head>
<body> <body>
<form action="index.php" method="POST"> <form action="backEnd.php" method="POST">
<input type="text" placeholder="Name" name="name"> <input type="text" placeholder="Name" name="name" required>
<input type="email" placeholder="E-mail" name="electronic-mail"> <input type="email" placeholder="E-mail" name="electronic-mail" required>
<textarea placeholder="Message" name=""></textarea> <textarea placeholder="Message" name="message" required minlength="35"></textarea>
<input type="submit" placeholder="Enviar"> <input type="submit" placeholder="Enviar" name="submit" required>
</form> </form>
</body> </body>
</html> </html>

View File

@@ -1,8 +0,0 @@
<?php
?>