<html>
<head>
</head>
<body>
<form action="TakeTwo.php" method="post">
<input type="text" name="trail" placeholder="Enter Test Here">
<input type="submit" name="Submit">
</form>
<?php
if (isset($_POST['Submit'])) {
$k = $_POST['trial'];
echo $k;
}
?>
</body>
</html>
for some reason it gives me a error that says this:
Notice: Undefined index: trial in C:\xampp\htdocs\KyleLongrich.com\TakeTwo.php on line 18
Any help would be awesome. Also line 18 is referring to to echo $k
;