Browse Source

add form destination

master
mahz 4 months ago
parent
commit
97cff28e3a
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      do.php
  2. +1
    -1
      index.php

+ 3
- 0
do.php View File

@ -0,0 +1,3 @@
<?php
print_r($_GET);
print_r($_POST);

+ 1
- 1
index.php View File

@ -9,7 +9,7 @@
</head>
<body>
<form action="">
<form action="do.php" method="post">
<input type="text" name="name" placeholder="name" value=""/>
<br>
<input type="text" name="email" placeholder="email" value=""/>

Loading…
Cancel
Save