Commit d6944067 by Nenad Zivkovic

fixes typos in start-databases.md

parent f526cc7a
...@@ -100,7 +100,7 @@ class Country extends ActiveRecord ...@@ -100,7 +100,7 @@ class Country extends ActiveRecord
The `Country` class extends from [[yii\db\ActiveRecord]]. You do not need to write any code inside of it! With just the above code, The `Country` class extends from [[yii\db\ActiveRecord]]. You do not need to write any code inside of it! With just the above code,
Yii will guess the associated table name from the class name. Yii will guess the associated table name from the class name.
> Inof: If no direct match can be made from the class name to the table name, you can > Info: If no direct match can be made from the class name to the table name, you can
override the [[yii\db\ActiveRecord::tableName()]] method to explicitly specify the associated table name. override the [[yii\db\ActiveRecord::tableName()]] method to explicitly specify the associated table name.
Using the `Country` class, you can easily manipulate data in the `country` table, as shown in these snippets: Using the `Country` class, you can easily manipulate data in the `country` table, as shown in these snippets:
...@@ -185,7 +185,7 @@ information to it. ...@@ -185,7 +185,7 @@ information to it.
Creating a View <a name="creating-view"></a> Creating a View <a name="creating-view"></a>
--------------- ---------------
Under the `views` directory, first create a sub-directory named `country`. This folder will used to hold all the Under the `views` directory, first create a sub-directory named `country`. This folder will be used to hold all the
views rendered by the `country` controller. Within the `views/country` directory, create a file named `index.php` views rendered by the `country` controller. Within the `views/country` directory, create a file named `index.php`
containing the following: containing the following:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment