I have a basic page template that i'm willing to 'convert' to a dynamic one.
What I mean is that I have an external table within WordPress's database that holds some data, And what I intend to accomplish is to make this page be able to receive
$_GET parameters and then generate some table based on this external table's data.
I haven't started to write any code yet, since I'm still trying to understand the best approach to this:
1) Should I make the
$wpdb calls within the page's template itself and then cross-data between the received
$_GET parameter ?
2) Should I move this table out of WordPress's database and create a totally new database to connect with?
3) How secure will it be to depend on
$_GET parameters in order to generate the page's content (using the page's template)? After sanitization etc..