• Resolved adamovic

    (@adamovic)


    Hi Tobias!

    A technical question: I would like to access contents of a table with javascript (since the table kind of serves as an online data storage already). Where can I find the tables on my server? Is there a default path I can use like domain.com/wp_content/some-table?

    Thanks!

    • This topic was modified 4 years, 11 months ago by adamovic.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m afraid that this will need more than just JavaScript code. The tables are not stored in files on the server but in the WordPress database, as JSON-encoded two-dimensional arrays in the wp_posts database table.

    Regards,
    Tobias

    Thread Starter adamovic

    (@adamovic)

    Hi,

    Thanks for the fast reply.

    I see. Ok, that’s useful info. In that case, I’ll try finding another solution.

    Best,
    Adam

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, no problem! Sorry that I could not provide a directly usable solution here.

    Best wishes,
    Tobias

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

The topic ‘Tables in database’ is closed to new replies.