I'll admit it upfront: I am a total noob to this, so please bare with me.
I'm trying to create a simple PHP program with an HTML form to submit an input into PHP which then echos back the user's input but I keep getting an "Object not found!" error when I push the submission button on the page. If you could please tell me what I'm doing wrong, I would really appreciate it. My code is:
<form action="index.php" method="post">
<input type="text" name="user_input" size="20">
<input type="submit" name="press" value="Press da button!">
</form>
<?php
if (isset($_POST['user_input']))
{ $post= $_POST['user_input'];
echo "You posted $post .";
}
?>
Again, thanks a ton.