I have an app installed on a web server in a domain subdirectory. It runs by addressing the root directory / subdirectory, i.e., http://www.domain.com/app1. I have a 2nd app which is meant to be a copy of the first with its own database and associated tables. I copied the existing database (structure only) and renamed it. I copied the app1subdirectory and called it app2. I searched for all occurrences of the database name in the app2 subdirectory and replaced them with the second database name with its associated credentials.
When i run the second app at http://www.domain.com/app2, it displays the data from the app1 database.
Any ideas?