php - Many new MySQL columns with one form -
i want put form on website let users add events private calendar. that, create new column in mysql each time user add event (always same form, 1 column each event title, example...)
is possible?
it possible using alter table
however, not better have table called 'events' holds of them, column called 'userid' contains id of user event belongs to.
then know every event exists in table, , users events query 1 table rows contain users id in userid column.
Comments
Post a Comment