Hi ,
I would like to know if it is actually possible to link 2 database to one single script? Is there a trick for that?
Thank you,
Ben
2 database and one script - possible?
Re: 2 database and one script - possible?
Hi Ben,
If you want to retrieve data from 2 separate database in the same script, you need to open 2 connections, one to each database, and then pass the connection handler to the query function to specify which database you are querying. See the selected answer to the question at: http://stackoverflow.com/questions/2748 ... le-webpage
If you want to retrieve data from 2 separate database in the same script, you need to open 2 connections, one to each database, and then pass the connection handler to the query function to specify which database you are querying. See the selected answer to the question at: http://stackoverflow.com/questions/2748 ... le-webpage
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
Re: 2 database and one script - possible?
Thank you Ahmed:-)
Re: 2 database and one script - possible?
You're always welcome
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.