paulproffitt
Member
We've set up a Fabrik connections to an external database and Fabrik can connect.
However, I need to make that connection in a plugin PHP code. I can retrieve data from the connections table, but since the pw is encrypted the plugin code cannot make a connection without storing the pw in the code (which we don't want to do).
Is there a way to get a connection object from Fabrik so that Fabrik can make the connection and just supply the object to use for direct queries to the external database?
However, I need to make that connection in a plugin PHP code. I can retrieve data from the connections table, but since the pw is encrypted the plugin code cannot make a connection without storing the pw in the code (which we don't want to do).
Is there a way to get a connection object from Fabrik so that Fabrik can make the connection and just supply the object to use for direct queries to the external database?