diff options
author | Joël Cox <joel@joelcox.nl> | 2011-08-23 14:54:42 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-10-27 00:43:45 +0200 |
commit | b430ecd00aaa80c63734b508c82501bec3a0b703 (patch) | |
tree | ba68b391890b86e487c44ecc628d5e4be314f0ee /user_guide/tutorial/news_section.html | |
parent | f27bcf350d18048d91d8a607520d19f0c8e11f41 (diff) |
Bumped the version number, corrected spelling mistakes (thanks @chrisberthe) and added links to the tutorial pages in the introduction.
Diffstat (limited to 'user_guide/tutorial/news_section.html')
-rw-r--r-- | user_guide/tutorial/news_section.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/tutorial/news_section.html b/user_guide/tutorial/news_section.html index d0f64e0c9..8d8899968 100644 --- a/user_guide/tutorial/news_section.html +++ b/user_guide/tutorial/news_section.html @@ -28,7 +28,7 @@ <div id="masthead"> <table cellpadding="0" cellspacing="0" border="0" style="width:100%"> <tr> -<td><h1>CodeIgniter User Guide Version 2.0.2</h1></td> +<td><h1>CodeIgniter User Guide Version 2.0.3</h1></td> <td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> </tr> </table> @@ -94,7 +94,7 @@ CREATE TABLE news ( ); </pre> -<p>Now that the database and a model have been set up, you'll need a method to get all of our posts from our database. To do this, the database abstraction layer that is included with CodeIgniter — <a href="../database/active_record.html">ActiveRecord</a> — is used. This makes it possible to write your 'queries' once and make them work on <a href="../general/requirements.html">all supported database systems</a>. Add the following code to your model.</p> +<p>Now that the database and a model have been set up, you'll need a method to get all of our posts from our database. To do this, the database abstraction layer that is included with CodeIgniter — <a href="../database/active_record.html">Active Record</a> — is used. This makes it possible to write your 'queries' once and make them work on <a href="../general/requirements.html">all supported database systems</a>. Add the following code to your model.</p> <pre> function get_news($slug = FALSE) |