Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <?
- echo "<form action='".$_SERVER['PHP_SELF']."' method='post'>";
- ?>
- Name: <input type="text" name="name" /><br>
- ID: <input type="text" name="id" /><br>
- <input type="submit" />
- </form>
- </body>
- <br>
- <br>
- </html>
- <?
- $name = $_POST["name"];
- $id = $_POST["id"];
- print "$name";
- mysql_query("INSERT INTO APSLOG (Name, UserID) VALUES ('$name', '$id')");
- print "Names Added";
- ?>
Add Comment
Please, Sign In to add comment