From b430ecd00aaa80c63734b508c82501bec3a0b703 Mon Sep 17 00:00:00 2001 From: Joël Cox Date: Tue, 23 Aug 2011 14:54:42 +0200 Subject: Bumped the version number, corrected spelling mistakes (thanks @chrisberthe) and added links to the tutorial pages in the introduction. --- user_guide/tutorial/news_section.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide/tutorial/news_section.html') 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 @@
- +

CodeIgniter User Guide Version 2.0.2

CodeIgniter User Guide Version 2.0.3

@@ -94,7 +94,7 @@ CREATE TABLE news ( ); -

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 — ActiveRecord — is used. This makes it possible to write your 'queries' once and make them work on all supported database systems. Add the following code to your model.

+

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 — Active Record — is used. This makes it possible to write your 'queries' once and make them work on all supported database systems. Add the following code to your model.

 function get_news($slug = FALSE)
-- 
cgit v1.2.3-24-g4f1b