CodePudding user response:
Equivalent to a number of buttons in a row, and then the button button lable to save to the database, the database query condition, if the status is 1, it shows red, not zero, is grayCodePudding user response:
In general, is dynamically generated button.Storage database, literally in the hall and as a couple you can store more or the json,
Mainly in the dynamically generated button, according to the seat, you said to display a red or booking,