Here is my code for the error msg
$_POST['amount'] is the box they enter numbers in
$cashbal is the available balance
Code: Select all
if ($_POST['amount'] <= $cashbal) {
} else {
$error=TRUE;
$msg .= '<li>Not enough funds <a href="transfer.php">try again</a></li>';
}if someone can help me out I just cant fiqure it out. I have tried both < and > signs and still same thing.
Thanks
Don