is error reporting turned on? i mean, when you make errors, does it display the Warning message? it doesn't make sense to me if you are using the same auth.php script.
also, just some other tips, in PHP, you should use the operator
|| instead of the word OR. i guess if OR works, then it's fine, it's just more common to see the pipes. i.e.
PHP Code:
<?
if($i==1 || $i==2){
// do this
}
// also, the and operator is &&
if($i==1 && $b==2){
// do this
}
now, another way to complete the logic in your huge if statement, might be this:
PHP Code:
<?
// create your array of possibilities
$my_array = array(3,6,9,12,15,18,21,
24,27,30,33,36,39,
42,45,48,51,54,57,
60,63,66,69,72,75,
78,81,84,87,90,93,
96,99);
if(in_array($i,$my_array)){
// do something
}
?>