Is it possible to create a form with PHP and process this form with the same script it was created by.
I tried this:
<!DOCTYPE html>
<html>
<?php
if(isset($_POST['GO'])) {
echo "Hola Mundo";
}
?>
<body>
<form action="procesarFormula.php" method="post">
<b>Nombre</b> <input type="text" name="nombre"><br/><br/>
<input type="submit" value="GO">
</form>
</body>
</html>
but when I click the submit button I get the Object not found
error.
Note the script is saved in a file called procesarFormula.php
Any help please ?