diff options
Diffstat (limited to 'user_guide/general')
-rw-r--r-- | user_guide/general/models.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/general/models.html b/user_guide/general/models.html index c0d972683..2759f0219 100644 --- a/user_guide/general/models.html +++ b/user_guide/general/models.html @@ -164,7 +164,7 @@ To load a model you will use the following function:</p> <p>If you model is located in a sub-folder, include the relative path from your models folder. For example, if
you have a model located at <dfn>application/models/blog/queries.php</dfn> you'll load it using:</p>
-<code>$this->load->model('blog/queries');</code>
+<code>$this->load->model('<var>blog/queries</var>');</code>
<p>Once loaded, you will access your model functions using an object with the same name as your class:</p>
|