Home  >  Q&A  >  body text

php - How to design database fields in dynamic forms?

I have a client who needs to do an annual review every year. The add page for the annual review is dynamic. Clicking an add button will add an annual review for one year. How do I design the fields in the database? Thanks

黄舟黄舟2707 days ago958

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-06-14 10:51:49

    If the added attributes do not require conditional query, they can be encapsulated into JSON or other formats and saved in BLOB or TEXT.

    reply
    0
  • 世界只因有你

    世界只因有你2017-06-14 10:51:49

    You can consider making one record every year, so that the fields in the database do not need to be adjusted.

    reply
    0
  • Cancelreply