We have a page made in PHP
we add this :
const V = "10"; in the development area
const V = "20"; in the production area
Development area read the data from MySql
Production area read the data from PostgreSQL
We need to create a function change part of core
like this if (const == '10') {
$mysqli_query = mysqli_query;
}
if (const == '20') {
$mysqli_query = pg_query;
}
In the future we will not use Postgresql for in this time yes and need to read from 2 database
How can help us?
Hello Sir,
I can help you with conditional data fetching.
I am willing to start right away.
Please check my profile for work and experience.
Regards
Hardeep
Hi There,
I'm experience PHP, MySQL programmer. I can help You in using 2 DB differently. Please ping me once for allowing me to help You.
Thanks and Regards,
Ripasahasl.
Hello, I can add this condition on your core PHP project to resolve your problem and also like to know about database a bit more so that I can connect both the database for you to work your code in sync.
Please message me so that we can discuss page details and I will try my best to deliver this task update as soon as possible with accuracy. Looking forward to here from you!
Thank you so much!
Greetings!
I will do this task ASAP. Give me chance. I will show you good result. Thanks
.....................................................................................................................
Hi, there
I'm a PHP & DB expert with over 7 years of experience. I can implement it ASAP. In PHP script, after get the database type, I can excute the query. Please ping me and discuss this in detail. Thanks. Isabelle