my English doesn’t well, I am sorry
I have a open Cart project this project have own database, and I have mobile app for the same project but have the own database can I connect the two project with by one database ? I want to connect the web open Cart app with mobile app by the database of mobile app
Advertisement
Answer
You can have OpenCart and other application’s tables in the same database.
The OpenCart Step 3 has “prefix”. This sets the prefix of the table names to eliminate conflicts with other applications in the same database.
A better way is put your mobile app in its own database.
The mobile app can access OpenCart by prefixing the table names in SQL by the opencart database. For example:
SELECT user FROM opencartdb.oc_users