Hey, I'm making a script that checks if a specified string matches the one in check.php. Here is my HTML code:
<form name="input" action="check.php" method="POST" id="key">
Key: <input type="text" name="key" />
<input type="submit" value="Submit" />
</form>
However, when it runs check.php it goes to the default white page. Is there a way to get the result to display on the page where they typed the information on, like at the top or bottom? Here is my check.php (just for testing atm):
<?php
$key=$_POST['key'];
echo $key;
?>