Forum Moderators: coopster
T_LNUMBER is a problem with integers
try spacing out that line, like so, maybe it is just that
if($_POST['miners'] * 500 + $_POST['magicians'] * 800 + $_POST['knights'] * 1200 + $_POST['rangers'] * 1500 > $fdatabase['gold']) echo("false!");
also you don't need the braces as there is a single line for your if ;)