rulerofzu Posted June 23, 2011 Posted June 23, 2011 What you gonna do about negative numbers lucky? Quote
lucky3809 Posted June 23, 2011 Posted June 23, 2011 I would use an if statement if ($_POST['deposit'] <= 0) { echo ' Please ensure you only submit integers. '; } simple really... mres is not protecting it from going negative. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.