<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Simple CRUD With CodeIgniter</title>
	<atom:link href="http://fwebde.com/php/simple-crud-with-codeigniter/feed/" rel="self" type="application/rss+xml" />
	<link>http://fwebde.com/php/simple-crud-with-codeigniter/</link>
	<description>Helping people to make fantastic websites, whether you are a designer, a developer, or someone just who loves websites.</description>
	<lastBuildDate>Fri, 15 Jul 2011 11:19:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Chris</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-3849</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 01 Jun 2011 06:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-3849</guid>
		<description>Agreed that the user guide is excellent on Codeigniter.
However, there is no clear explanation of a complete, simple, CRUD model there - this is the best attempt at one available [I believe] and it is natural that people are trying to add the finishing touches.
It would be fabulous if the author could incorporate the corrections into the tutorial, as it is 98% there....</description>
		<content:encoded><![CDATA[<p>Agreed that the user guide is excellent on Codeigniter.<br />
However, there is no clear explanation of a complete, simple, CRUD model there - this is the best attempt at one available [I believe] and it is natural that people are trying to add the finishing touches.<br />
It would be fabulous if the author could incorporate the corrections into the tutorial, as it is 98% there....</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-3779</link>
		<dc:creator>George</dc:creator>
		<pubDate>Thu, 10 Mar 2011 14:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-3779</guid>
		<description>To the guys who are finding errors, read the CodeIgniter user guide! You must load models before trying to use them.

All of this (and much, much more) are explained in the user guide.

http://codeigniter.com/user_guide

The user guide for CodeIgniter is one of it&#039;s great assets and the fact that so many people are neglecting to read it is shocking.</description>
		<content:encoded><![CDATA[<p>To the guys who are finding errors, read the CodeIgniter user guide! You must load models before trying to use them.</p>
<p>All of this (and much, much more) are explained in the user guide.</p>
<p><a href="http://codeigniter.com/user_guide">http://codeigniter.com/user_guide</a></p>
<p>The user guide for CodeIgniter is one of it's great assets and the fact that so many people are neglecting to read it is shocking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roniwahyu</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-3777</link>
		<dc:creator>roniwahyu</dc:creator>
		<pubDate>Wed, 09 Mar 2011 02:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-3777</guid>
		<description>Ouch...I&#039;m sorry i thought i was mistaken case. I have the same problem on line 17, then i add this

$this-&gt;load-&gt;model(&#039;posts_model&#039;);
		$data[&#039;posts&#039;] = $this-&gt;posts_model-&gt;getPosts();


I&#039;m new in CI, so my question to the writer is:
do we need to add these lines before the operation model?</description>
		<content:encoded><![CDATA[<p>Ouch...I'm sorry i thought i was mistaken case. I have the same problem on line 17, then i add this</p>
<p>$this-&gt;load-&gt;model('posts_model');<br />
		$data['posts'] = $this-&gt;posts_model-&gt;getPosts();</p>
<p>I'm new in CI, so my question to the writer is:<br />
do we need to add these lines before the operation model?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roniwahyu</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-3776</link>
		<dc:creator>roniwahyu</dc:creator>
		<pubDate>Wed, 09 Mar 2011 01:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-3776</guid>
		<description>i have a same problem, but i have fix it with tAz trick on the previous comment.

you should add this :
$this-&gt;load-&gt;model(&#039;posts_model&#039;); 

before this script
$this-&gt;posts_model-&gt;addPost($title, $content);

thanks</description>
		<content:encoded><![CDATA[<p>i have a same problem, but i have fix it with tAz trick on the previous comment.</p>
<p>you should add this :<br />
$this-&gt;load-&gt;model('posts_model'); </p>
<p>before this script<br />
$this-&gt;posts_model-&gt;addPost($title, $content);</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-3773</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Sat, 05 Mar 2011 11:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-3773</guid>
		<description>Hi,

i am new to CI and i am very thankful for your tut. Unfortunately i am having problems from the beginning. After submitting the form i do not get new rows in the DB. After insertig some rows ba myself in phpmyadmin i tried to get the posts as you explained, but i get this error:

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Crud::$posts_model

Filename: controllers/crud.php

Line Number: 17

Can someone help me?
greets</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>i am new to CI and i am very thankful for your tut. Unfortunately i am having problems from the beginning. After submitting the form i do not get new rows in the DB. After insertig some rows ba myself in phpmyadmin i tried to get the posts as you explained, but i get this error:</p>
<p>A PHP Error was encountered</p>
<p>Severity: Notice</p>
<p>Message: Undefined property: Crud::$posts_model</p>
<p>Filename: controllers/crud.php</p>
<p>Line Number: 17</p>
<p>Can someone help me?<br />
greets</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ganz</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-3761</link>
		<dc:creator>ganz</dc:creator>
		<pubDate>Fri, 18 Feb 2011 05:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-3761</guid>
		<description>Fatal error: Call to a member function addPost() on a non-object in E:\xampp\htdocs\ci\system\application\controllers\crud.php on line 11..when i try to submit..this occurs..what can I do?newbie with CI..</description>
		<content:encoded><![CDATA[<p>Fatal error: Call to a member function addPost() on a non-object in E:\xampp\htdocs\ci\system\application\controllers\crud.php on line 11..when i try to submit..this occurs..what can I do?newbie with CI..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Apocryphon</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-3730</link>
		<dc:creator>Apocryphon</dc:creator>
		<pubDate>Sat, 01 Jan 2011 07:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-3730</guid>
		<description>Never mind!  Fixed it.</description>
		<content:encoded><![CDATA[<p>Never mind!  Fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Apocryphon</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-3727</link>
		<dc:creator>Apocryphon</dc:creator>
		<pubDate>Fri, 31 Dec 2010 20:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-3727</guid>
		<description>Hey, I tried the first part of this tutorial and received this 404 message:

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/ci/system/application/controllers/main.php:14)

Filename: codeigniter/Common.php

Line Number: 360

404 Page Not Found
The page you requested was not found.

Any idea what&#039;s causing this php error?</description>
		<content:encoded><![CDATA[<p>Hey, I tried the first part of this tutorial and received this 404 message:</p>
<p>A PHP Error was encountered</p>
<p>Severity: Warning</p>
<p>Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/ci/system/application/controllers/main.php:14)</p>
<p>Filename: codeigniter/Common.php</p>
<p>Line Number: 360</p>
<p>404 Page Not Found<br />
The page you requested was not found.</p>
<p>Any idea what's causing this php error?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fandi Akhmad</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-2121</link>
		<dc:creator>Fandi Akhmad</dc:creator>
		<pubDate>Mon, 01 Nov 2010 02:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-2121</guid>
		<description>Thanks for your tutorial..good :)

but i have question about update data.
Can i update a data with only get an id ?

so, i only need one argument in function model
exmple:
function update($id){
 ...
}

yeah, i need $id for update a data..

please help me...thanks, :)</description>
		<content:encoded><![CDATA[<p>Thanks for your tutorial..good :)</p>
<p>but i have question about update data.<br />
Can i update a data with only get an id ?</p>
<p>so, i only need one argument in function model<br />
exmple:<br />
function update($id){<br />
 ...<br />
}</p>
<p>yeah, i need $id for update a data..</p>
<p>please help me...thanks, :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tAz</title>
		<link>http://fwebde.com/php/simple-crud-with-codeigniter/comment-page-1/#comment-2120</link>
		<dc:creator>tAz</dc:creator>
		<pubDate>Sun, 31 Oct 2010 14:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://fwebde.com/?p=2170#comment-2120</guid>
		<description>Very simple to fix - but tricky to debug without some prior knowledge.

You must &quot;load&quot; a model before you use it:

Amend the code in crud.php 

// Add the post
$this-&gt;load-&gt;model(&#039;posts_model&#039;);         $this-&gt;posts_model-&gt;addPost($title, $content);

Broken tuts are a curse :(</description>
		<content:encoded><![CDATA[<p>Very simple to fix - but tricky to debug without some prior knowledge.</p>
<p>You must "load" a model before you use it:</p>
<p>Amend the code in crud.php </p>
<p>// Add the post<br />
$this-&gt;load-&gt;model('posts_model');         $this-&gt;posts_model-&gt;addPost($title, $content);</p>
<p>Broken tuts are a curse :(</p>
]]></content:encoded>
	</item>
</channel>
</rss>

