Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" ----- Original Message ----- From: Jacky To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 2:59 PM Subject: how do I calculate this? Hi all I have a variable that store number of days, I want to divided by 7 and if it can be divided by 7 perfectly, then I will redirect them to one page, otherwise send them to another page. How do I set up condition in the if...then....else bit to determine if the value is divided by 7 perfectly or not? cheers Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself"