I have a website where members accumulate fees as they use my service.
I want to create a feature that will lock members out of their account if they owe more than $x, AND haven’t paid anything towards their fees in the current month.
So we will check one table to see how much fees they owe. Then check another table to see if they have made a payment this current month. If the amount owed is more than $x, and payments made this month = none, then they are only able to see the page that ask…