How best to make the dynamic formation of tables on the site?

  1. There is a list of services provided in different directions and their cost.
  2. There are different sections of the site and pages corresponding to these areas, which should reflect certain services from the list with the possibility of user choice (checkbox).
  3. The range of services and their cost may vary from time to time.
  4. CMS - Joomla 3x
  • add the service_type field to the table and let this field store the values ​​1, 2, 3 ... Each value is a particular service. Then you can select the drains for the required service. If I understood correctly - dakiesse
  • @dakiesse thanks, but not quite right: the list of services should be in an external source that can be easily edited. And the tables on the site pages are dynamically generated from this source. As far as I understand the source, of course, there must be an identifier of the type of service. But, since I am not an expert in php and jg - I don’t understand how to link the source (and what it should be) with the pages - Anton
  • as it was about an external source, create a table in the database with the required fields, including the service_type field. Next, read the documentation on joomle, how to access the database and make selections, and get it all in html you need. - dakiesse
  • Thanks, I will try to figure it out - Anton

0