Title: Mapping data to tables
Last modified: August 22, 2016

---

# Mapping data to tables

 *  Resolved [dave8528](https://wordpress.org/support/users/dave8528/)
 * (@dave8528)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/mapping-data-to-tables/)
 * I have created a form that certain type of user will fill out which we store 
   the entries in DB. I like to have these entries to be displayed in a table that
   I have created using TablePress. Is this possible?
    Any direction to accomplish
   this will greatly be appreciated.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/mapping-data-to-tables/#post-5777254)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * No, sorry, something like this is not possible. TablePress tables can not be 
   filled from external sources like the database or form submissions.
    It can only
   be used to display static data that was enter via the “Edit” screen or imported
   via the “Import” screen.
 * Now, if you already have a DB, why don’t you use some custom PHP code to query
   that and render a table?
 * Regards,
    Tobias
 *  Thread Starter [dave8528](https://wordpress.org/support/users/dave8528/)
 * (@dave8528)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/mapping-data-to-tables/#post-5777284)
 * Thanks for quick response. As far as “custom PHP code”, I’m not a programmer 
   and I’m trying to learn my around to accomplish what I need. I was hoping to 
   find a plugin that can connect to local DB, select certain table(s), then map
   it/display it where I need via shortcode or something simple along those lines.
   
   From I gathered, your plugin does recognize PHP code, am I right?
 * Dave,
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/mapping-data-to-tables/#post-5777323)
 * Hi,
 * thanks for the explanation!
 * Yes, you can use PHP code in TablePress tables (with an Extension), but that’s
   not going to be helpful here, as it works on a per-cell basis.
 * Instead, this might be something for you: [http://wpdatatables.com/](http://wpdatatables.com/)
   That is a premium plugin that makes it possible to display DB tables, from what
   I know. (I have never used it before and I have no affiliation to it, I just 
   thought I’d mention it here.)
 * Regards,
    Tobias
 *  Thread Starter [dave8528](https://wordpress.org/support/users/dave8528/)
 * (@dave8528)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/mapping-data-to-tables/#post-5777327)
 * Thank you Tobias. I think this is what I need.
 * Cheers,
 * Dave
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/mapping-data-to-tables/#post-5777332)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this might help!
 * Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Mapping data to tables’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [tables](https://wordpress.org/support/topic-tag/tables/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/mapping-data-to-tables/#post-5777332)
 * Status: resolved