Okay,
I need some code where if a user puts in a "-" sign into the system, it wil bounce back with
Negative numbers are not allowed.
Ive tried both..
AndPHP Code:<?php
if($bet = "-")
die('Cannot bet a negative number of credits...!<meta http-equiv="refresh" content="2;url=game_hl.php" /><br />You will be redirected!');
?>
Any ideas?PHP Code:<?php
if(preg_match("-",$bet))
die('Cannot bet a negative number of credits...!<meta http-equiv="refresh" content="2;url=game_hl.php" /><br />You will be redirected!');
?>
Moved by Agesilaus (Forum Moderator) from Designing and Development: Please post in the correct forum next time. :)

