How to Get Data Stored via Package Dashboard Page

Permalink
I am working on a package that has a dashboard admin area. Data is stored into a package database table, which is created when the package is installed.

The data saves, and it can be echoed in the dashboard pages. However, I am stuck on how to get the data to be shown on the front-end.

Here is what I have for my code so far. Note that I am using a specific database table, and NOT the package table.

<?php  $pkg = Package::getByHandle('secret_package');?>
<p><?php echo $somevariable ?></p>

PineCreativeLabs