I have to code an application on my server that triggers emails based on info that come from a database hosted on another server and I don’t know how to query that information. I’m using PHP/MySQL. I can’t established a connection to this database like I do normally (when database is host on the same server that the application file), right?
Thanks in advance,
Wrong, there is no difference whether code and database are on the same or different servers. As long as the remote db server is configured to allow conections from foreign hosts that is… But that’s a hosting issue not a programming one.