In genera sense if I create a CMS using php .Where I created and named the database in my localhost. Now if I or my clent upload the CMS in any server how will it work. because there is no database in that server.
And in my php code I wrote to create database. Now how can i create a CMS which can automatically create database and tables where client doesn't have to know about anything besides uploading the CMS.
Example: In the CMS there is a query saying (SELECT * FROM users). I named the table users which contains user information.
but If a client upload my CMS into his server how will it work. Does he have to go phpmyadmin and create a identical database like I created and named while developing the CMS.