DaDaBIK
This forum is devoted to the discussion about the software DaDaBIK database front-end
the PHP Database application generator for MySQL, PostgreSQL and SQLite; also available for Wordpress.

Welcome! Log In Create A New Profile

Advanced

Get value from another table in custom function

Posted by business 
Get value from another table in custom function
March 31, 2019 05:17AM
Hi,

My custom function needs a field value from another table in order to calculate and return the result.

Is there any way I can call SQL to get data using the field from $parameters_ar and return the result?

Thanks
Re: Get value from another table in custom function
April 01, 2019 01:36AM
Hello,
in a custom function you can execute the code you want, including the execution of SQL queries.
In custom_functions.php, functino dadabik_send_notice_after_accounts_insert, you have an example

Best,

________________________________________________________
Eugenio |\.-./| DaDaBIK developer and project admin
Sorry, only registered users may post in this forum.

Click here to login