09.12.2018, 20:49
That's for you to create, have it as flexible as you want, and then provide that connection information in that config file for the website to connect to.
The sole purpose from a database connection is to store and manage your news articles.
In the Database.
Create a table in your database called `news`, in case you want to name it something else, make sure to change the private field $table in the News.php model (located at the models folder) to whatever you're calling your table.
The sole purpose from a database connection is to store and manage your news articles.
In the Database.
Create a table in your database called `news`, in case you want to name it something else, make sure to change the private field $table in the News.php model (located at the models folder) to whatever you're calling your table.