How can i put the number of seats according to my mysql variable
Closed this issue · 2 comments
souzaallanxz commented
How can i integrate this code with my mysql database.
I mean, i want to made, like a for, and my map seats, will have the number of seats that is in some variable in my database.
Thanks!
mateuszmarkowski commented
I'm afraid that this is not a relevant question about JSC.
XDRosenheim commented
I know this issue is closed, but I think I might be able to help you a little.
Please note: number of columns must be equal in each row.
In your database, store the width of your seatmap and the FULL seatmap string. Then you can just split the string according to the width.