Open philsinatra opened 7 years ago
Each of them are selecting from a different part of the database, that's why there are two of them.
The configuration information is identical in both. The query is different. So the query doesn't belong in the configuration file, it belongs in the template associated with the information being requested in the database. There should only be one config
file, and the query statements should be moved to the other template pages.
You have two config files:
config_lifters.php
config_profiles.php
Why not have a single config file since they are both doing the same thing?