<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Live search with CodeIgniter and Mootools</title>
	<link>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/</link>
	<description>Web development with CodeIgniter and Mootools.</description>
	<pubDate>Thu, 28 Aug 2008 05:23:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Alex</title>
		<link>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-765</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 10 Jun 2008 08:32:34 +0000</pubDate>
		<guid>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-765</guid>
		<description>Gerben, everything is explained in the tutorial, everything is working, as you can see from the example.  Moreover, I can't help you, when you don't supply any particular example or error.</description>
		<content:encoded><![CDATA[<p>Gerben, everything is explained in the tutorial, everything is working, as you can see from the example.  Moreover, I can&#8217;t help you, when you don&#8217;t supply any particular example or error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerben van Dijk</title>
		<link>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-763</link>
		<dc:creator>Gerben van Dijk</dc:creator>
		<pubDate>Mon, 09 Jun 2008 23:26:46 +0000</pubDate>
		<guid>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-763</guid>
		<description>Hmm, i am also having difficulty getting the AJAX part to work, ive got the search working with your table structure (i dont want to use that, id like to use the structure i mentioned above), but i still have to hit the search button to get results.</description>
		<content:encoded><![CDATA[<p>Hmm, i am also having difficulty getting the AJAX part to work, ive got the search working with your table structure (i dont want to use that, id like to use the structure i mentioned above), but i still have to hit the search button to get results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerben van Dijk</title>
		<link>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-762</link>
		<dc:creator>Gerben van Dijk</dc:creator>
		<pubDate>Mon, 09 Jun 2008 23:02:40 +0000</pubDate>
		<guid>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-762</guid>
		<description>Hi there m8, thank you for your great documentation.

However, i am having difficulty to adapt it to my database.

Here some info about my database:

table: portfolio
`pid` int(11) unsigned NOT NULL auto_increment,
`name` varchar(255) NOT NULL,
`text` text NOT NULL,
`date` varchar(255) NOT NULL,
PRIMARY KEY  (`pid`),
UNIQUE KEY `pid` (`pid`),
FULLTEXT KEY `title` (`name`,`text`)

How do i need to fill in your code correctly now?

I'm sorry for the stupidness but um just beginning to understand PHP/CI :)</description>
		<content:encoded><![CDATA[<p>Hi there m8, thank you for your great documentation.</p>
<p>However, i am having difficulty to adapt it to my database.</p>
<p>Here some info about my database:</p>
<p>table: portfolio<br />
`pid` int(11) unsigned NOT NULL auto_increment,<br />
`name` varchar(255) NOT NULL,<br />
`text` text NOT NULL,<br />
`date` varchar(255) NOT NULL,<br />
PRIMARY KEY  (`pid`),<br />
UNIQUE KEY `pid` (`pid`),<br />
FULLTEXT KEY `title` (`name`,`text`)</p>
<p>How do i need to fill in your code correctly now?</p>
<p>I&#8217;m sorry for the stupidness but um just beginning to understand PHP/CI :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-30</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 18 Jul 2007 10:09:44 +0000</pubDate>
		<guid>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-30</guid>
		<description>Florian, I'm gland you found the article helpful.  

In this example, your complete search query equals to one single term.  So query like "CodeIgniter Mootools" will be interpreted as one word (string's case doesn't matter), and most likely won't yield any results, even though there are many "codeigniter" and "mootools" in the table.  WP Reloaded plugin splits your query into multiple search terms, so the query becomes "CodeIgniter" + "Mootools" - WHERE ( posts.title REGEXP 'codeigniter&#124;mootools' OR posts.post_content REGEXP 'codeigniter&#124;mootools' ) - that would return everything with CodeIgniter OR Mootools.

The above approach is better that the original WP search, but still quite simple.  If you're interested in something more sophisticated, you should definitely try &lt;a href="http://framework.zend.com/manual/en/zend.search.lucene.html" rel="nofollow"&gt;Zend Lucene&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Florian, I&#8217;m gland you found the article helpful.  </p>
<p>In this example, your complete search query equals to one single term.  So query like &#8220;CodeIgniter Mootools&#8221; will be interpreted as one word (string&#8217;s case doesn&#8217;t matter), and most likely won&#8217;t yield any results, even though there are many &#8220;codeigniter&#8221; and &#8220;mootools&#8221; in the table.  WP Reloaded plugin splits your query into multiple search terms, so the query becomes &#8220;CodeIgniter&#8221; + &#8220;Mootools&#8221; - WHERE ( posts.title REGEXP &#8216;codeigniter|mootools&#8217; OR posts.post_content REGEXP &#8216;codeigniter|mootools&#8217; ) - that would return everything with CodeIgniter OR Mootools.</p>
<p>The above approach is better that the original WP search, but still quite simple.  If you&#8217;re interested in something more sophisticated, you should definitely try <a href="http://framework.zend.com/manual/en/zend.search.lucene.html" rel="nofollow">Zend Lucene</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian</title>
		<link>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-29</link>
		<dc:creator>Florian</dc:creator>
		<pubDate>Tue, 17 Jul 2007 23:24:13 +0000</pubDate>
		<guid>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-29</guid>
		<description>THANKS. Very interesting and inspiring article.
Do you happen to have some advice for further reading on some even complexer search for SQL? You wrote "To simplify the example, this query is designed for search with a single term."
I'd like to learn in advance how to build a search for more than one term and for example allow Booleans etc..
- I think I have an idea how to achieve it in PHP, but something tells me, that my way isn't the most sophisticated and after all not the simplest.
I had a look at the WP-plugin you mentioned and I gonna go deeper into it, when I've some time - just thought you might maybe now some interesting article on this matter.
Cheers for your work anyways - I'll make sure to come back here more often (there are way not enough CI-related blogs out there!).

-Florian</description>
		<content:encoded><![CDATA[<p>THANKS. Very interesting and inspiring article.<br />
Do you happen to have some advice for further reading on some even complexer search for SQL? You wrote &#8220;To simplify the example, this query is designed for search with a single term.&#8221;<br />
I&#8217;d like to learn in advance how to build a search for more than one term and for example allow Booleans etc..<br />
- I think I have an idea how to achieve it in PHP, but something tells me, that my way isn&#8217;t the most sophisticated and after all not the simplest.<br />
I had a look at the WP-plugin you mentioned and I gonna go deeper into it, when I&#8217;ve some time - just thought you might maybe now some interesting article on this matter.<br />
Cheers for your work anyways - I&#8217;ll make sure to come back here more often (there are way not enough CI-related blogs out there!).</p>
<p>-Florian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-28</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 16 Jul 2007 08:38:16 +0000</pubDate>
		<guid>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-28</guid>
		<description>Hi Michael, 

I've uploaded the application - you can get it &lt;a href="http://pr0digy.com/sandbox/app.zip" rel="nofollow"&gt;here&lt;/a&gt;.

Just unzip the "app" folder next to the system folder (or whatever directory you keep CI in), edit database.php and config.php to match your settings and you're good to go...  

SQL file, for the live search app, is located in models directory.</description>
		<content:encoded><![CDATA[<p>Hi Michael, </p>
<p>I&#8217;ve uploaded the application - you can get it <a href="http://pr0digy.com/sandbox/app.zip" rel="nofollow">here</a>.</p>
<p>Just unzip the &#8220;app&#8221; folder next to the system folder (or whatever directory you keep CI in), edit database.php and config.php to match your settings and you&#8217;re good to go&#8230;  </p>
<p>SQL file, for the live search app, is located in models directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-27</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 14 Jul 2007 18:25:36 +0000</pubDate>
		<guid>http://pr0digy.com/codeigniter/live-search-with-codeigniter-and-mootools/#comment-27</guid>
		<description>Hi, Thanks for posting this.  Do you have a package of the files I can download and play with (sql file, etc)?</description>
		<content:encoded><![CDATA[<p>Hi, Thanks for posting this.  Do you have a package of the files I can download and play with (sql file, etc)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
