While doing a university project, I came across a problem that proved to be a hindrance. I need to create a system that requires a user to select days of the week and periods (night, daytime, morning) in a way that is convenient for them. Ex: user is available on Monday morning and afternoon and on Sunday night.
Having selected the days and available periods (via checkboxes on the site), this user will come across "works and projects" that are within his profile and available days. Since projects should also have this option to select their days and periods at the time of their creation.
The big problem is in the creation of this specific part, I broke my head with a few tables and on how to cross that information in the bank, but nothing seemed to work.