POST HTML/PHP form submission not displaying posted data -
i'm having trouble setting basic php form submission. using following code:
index.html:
<html> <body> <form action="welcome.php" method="post"> name: <input type="text" name="name"/><br> e-mail: <input type="text" name="email"/><br> <input type="submit"> </form> </body> </html>
with following php on welcome php page.
welcome <?php echo $_post["name"]; ?><br> email address is: <?php echo $_post["email"]; ?> </body> </html>
the index page displays 2 forms text fields may typed in, when imputing text , clicking submit takes me php page without sending of data.
description bit vague, here gif show happening: https://gyazo.com/aa1c9df6b090600cbc403151df49f0e3
Comments
Post a Comment