Title: Inject data in table from php array
Last modified: February 10, 2018

---

# Inject data in table from php array

 *  Resolved [roryrory](https://wordpress.org/support/users/roryrory/)
 * (@roryrory)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/inject-data-in-table-from-php-array/)
 * Hello
    Is there any solution to put in ninja table data coming from a php array.
   It will thus allows to use ninja table with mysql database result. Thanks

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

 *  Plugin Author [Shahjahan Jewel](https://wordpress.org/support/users/techjewel/)
 * (@techjewel)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/inject-data-in-table-from-php-array/#post-9961153)
 * You can use `ninja_tables_get_public_data` filter hook to provide your own data
   into the table as data source.
 * That will work fine
 *  [zbhr46](https://wordpress.org/support/users/zbhr46/)
 * (@zbhr46)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/inject-data-in-table-from-php-array/#post-10096983)
 * Hi Shahjahan,
 * Please could you explain how you would go about using this filter hook so that
   you can add your own data into the table. Where do you need to add it?
 * Thanks

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

The topic ‘Inject data in table from php array’ is closed to new replies.

 * ![](https://ps.w.org/ninja-tables/assets/icon-256x256.png?rev=3337819)
 * [Ninja Tables – Easy Data Table Builder](https://wordpress.org/plugins/ninja-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-tables/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [zbhr46](https://wordpress.org/support/users/zbhr46/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/inject-data-in-table-from-php-array/#post-10096983)
 * Status: resolved