Yes sorry i was thinking of something else.
PHP Code:<?php if(bet == "-"){
echo "Negative numbers are not allowed.";} ?>

Yes sorry i was thinking of something else.
PHP Code:<?php if(bet == "-"){
echo "Negative numbers are not allowed.";} ?>
That still wont work as you dont have a variable, and even if bet was a function you would need a (), and if your going to use $bet == "-" then it will only work if $bet was just "-", not "-50"
Want to hide these adverts? Register an account for free!