How to Store Multiple Options selected by User in a Table

前端 未结 3 1757
感动是毒
感动是毒 2021-01-23 14:50

So I want my users to be able to restrict who may contact them.

There are several factors they should be able to filter, including Age (e.g. Must be between 18 - 29), in

3条回答
  •  误落风尘
    2021-01-23 15:21

    You can try with this:

    criterium
    ------------
    user_id type          value
    1       AGE_MIN       18
    1       AGE_MAX       29
    1       INCOME_MIN    25000
    1       INCOME_MAX    60000
    1       DRUGS         Marijuana
    1       DRUGS         Meth
    

提交回复
热议问题