php - How to store array data of drag and drop form builder -
i want know what's best way store array data of dynamic form builder in mysql databse , retieve them based on each value?
as saying array dynamic , want store mysql
.
you can define 1 column in db purpose. store the json encoded array output via json_encode()
field.
and when want retrieve values, read , decode via json_decode()
otherwise there no sense create new columns dynamically via code.
Comments
Post a Comment