![]() |
FULLTEXT search codeigniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: FULLTEXT search codeigniter (/showthread.php?tid=46379) |
FULLTEXT search codeigniter - El Forum - 10-29-2011 [eluser]Unknown[/eluser] Hi guys, I am trying to create a full text search for my site but am having little luck. I have created a FULLTEXT index in my MySQL db (storage type MyISAM). The FULLTEXT index contains the following fields 'title,intro,content'. I have then proceeded to create my MVC for the search. Code is as follows: View Code: <?php echo form_open('search'); ?> Controller Code: class Search extends CI_Controller { Model Code: function search($searchquery) I can't seem to retrieve any search results with the above, is there something wrong with the code, is there any documentation on performing the above? |