Answer the question
In order to leave comments, you need to log in
How to properly store boolean conditions in MySQL?
There are conditions that characterize states. The conditions are binary. For example:
state1 = condition1 or condition2;
state2 = (condition2 and condition3) or condition4;
state3 = condition7;
etc.
There are many conditions and conditions.
Question: how to write a set of conditions for each state to the MySQL database, so that it can then be conveniently processed in PHP?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question