Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
763 views
in Q2A Core by
In my widget plugin a javascript function calls a php file by the ajax request.
That php file is supposed to connect to the database and retrieve some data in JSON format.

I would like to reuse my connection settings and use some of the existing functions from /qa-include/qa-db-selects.php.  Is there any way I could do that and how do I access that functions form my php file.

Thank you.

Please log in or register to answer this question.

...