1. change the function name
2. fix Div function
3. using $_REQUEST when the variable is in the request list