Ok, this script at the moment isn't working for the catching the errors. Here it is: [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Your Result</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php $start = $_POST["start"]; $end = $_POST["end"]; echo "$start $end<br>"; $errors = 0; if ($start = "unchoosen" || $end = "unchoosen" || $start >= $end) { echo "ERRORS:<br>"; if ( $start = "unchoosen" ) { echo "<br> You did not choose your starting value for your item!"; $errors = $errors + 1; } if ( $end = "unchoosen" ) { echo "<br> You did not choose your desired value for your item!"; $errors = $errors + 1; } if ( $start >= $end ) { echo "<br> Your combination of upgrading values are impossible!"; $errors = $errors + 1; } echo "<br>Total Errors: $errors"; } ?> </body> </html>[/code] $start and $end are taken from a drop down box, and they return the right values, jsut the if statement not working, since no matter what the combination (Possible values $start = "unchoosen", 0-8; $end = "unchoosen", 1-9) It always ehcos all 3 errors. :(