I would like to re-use some PHP classes and functions that I have written to display tables.
Right now, I am using XYZ PHP Code to display tables on multiple pages. In each snippet, I am defining a table class and related functions. I believe it would be much cleaner if this table class was defined only once.
How do I do this properly?
functions.php
, and PHP includes?