PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Yes - first of all it uses the $_POST array to reference the variable just in case the problem is one caused by register_globals: viewtopic.php?t=511
Secondly instead of using two if statements it uses one if...else statement which makes more sense as you can first test if the variable is less than 0 (ie. negative) and then if it's not the default stuff in the else statement is done.