Get value from another table in custom function

business

Member
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
 

eugenio

Administrator
Staff member
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,
 
Top