• Resolved leggiero

    (@leggiero)


    I’m trying to figure out how to script the addition of multiple rows in an archival database project I’m working on. The input would be a year and a number of records to be added for that year. With this input, I’d like to add, say, 23 new rows for the year 2010, and then 27 for 2011, and so on. And once I get this working I’ll use the same technique for a few other places. Since hooks only use JQuery or Javascript, both front-end, they don’t seem to do this. PHP can do it, but I can’t figure out how to fire off a PHP script from a hook or a button. Any help is appreciated!

Viewing 1 replies (of 1 total)
  • Plugin Contributor Kim L

    (@kimmyx)

    Hi @leggiero,

    We have a built-in feature to call a PHP function from a JavaScript hook or computed field, but it’s available for premium users only.

    Please send us a message via Contact | WP Data Access to know more about this feature. 🙏

    We’ll wait for your email!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.