Title: Get data from tables-&gt;fields via PHP?
Last modified: August 20, 2016

---

# Get data from tables->fields via PHP?

 *  [geegood.com](https://wordpress.org/support/users/thaiyindee/)
 * (@thaiyindee)
 * [15 years ago](https://wordpress.org/support/topic/get-data-from-tables-fields-via-php/)
 * I want to use this WP table reloaded. But I need to understand and know if I 
   can pull data out? I want to populate a taxonomy drop down – is this possible
   and possibly how? Ie. How do I reach the actual data in WP table reloaded via
   PHP script so I can call a loop like ex:
 * foreach ($my_wp_table_reloaded[‘field_name’] as $field_data;
    my_taxonomy_field_option
   = $field_data;
 * So $my_wp_table_reloaded[‘field_name’] would come from within WP table reloaded
   or a reference to it via global?
 * Thanks. Looks like what I am looking for.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [15 years ago](https://wordpress.org/support/topic/get-data-from-tables-fields-via-php/#post-2078495)
 * Hi,
 * I’m afraid that this is not really possible and that this is not within the intended
   use case of the plugin.
 * You could do it by manually pulling the WP option from the database and work 
   through the resulting array (take a look at the plugin source to see how the 
   plugin does it), but I really don’t recommend this.
    WP-Table Reloaded was not
   designed to offer such dynamic querying, as its purpose is to show static tables
   on pages/posts without the need of HTML knowledge.
 * You are likely better off with a custom solution and by using your own database
   table.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Get data from tables->fields via PHP?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-table-reloaded_f7dcd3.svg)
 * [WP-Table Reloaded](https://wordpress.org/plugins/wp-table-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-table-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-table-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-table-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-table-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-table-reloaded/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/get-data-from-tables-fields-via-php/#post-2078495)
 * Status: not resolved