mateuszmarkowski / jQuery-Seat-Charts

jQuery Seat Charts Plugin
MIT License
593 stars 210 forks source link

How can i put the number of seats according to my mysql variable #46

Closed souzaallanxz closed 7 years ago

souzaallanxz commented 7 years ago

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 7 years ago

I'm afraid that this is not a relevant question about JSC.

XDRosenheim commented 7 years ago

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.