• Resolved dave8528

    (@dave8528)


    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://www.ads-software.com/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    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

    (@dave8528)

    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

    (@tobiasbg)

    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: https://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

    (@dave8528)

    Thank you Tobias. I think this is what I need.

    Cheers,

    Dave

    Plugin Author Tobias B?thge

    (@tobiasbg)

    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.