3
I need to make a query to the Bank and return the value of the variables on the same page PHP
. But even the test to try to understand logic didn’t work:
<html>
<form name="registar" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
sua form bLA BLA BLA
<input type="submit" class="submit" name="submit" value="Enviar registo" />
</form>
<?
if (!$_POST['submit']) {
echo "bla bla bla SEU nome, pass";
} else {
echo "AGUARDANDO";
}
?>
</html>
In that case he just goes into "WAITING".
Can someone give me an idea?
The negation is reversing the result, if it has value(true) deny it, then it falls into Else, can make a test let the empty value will fall into the if.
– rray