Use something like... If Else?
u need to set the variable tour_date to be 180.
If passport_expiry_date < tour_date < 180 = reject
else, proceed.
I am not a programmer, thats just a general idea i can think of.
For this one, use js and validate at client side is more suitable. i don't highly recommend php for this project
I'm not well verse in js sorry :(
O.o
All asking help for school project. zzz
No free meal here hor.