Warning: parse_url(http://javascript:void(0)) [function.parse-url]: Unable to parse URL in [path]/skimlinks/includes/class_skimlinks.php on line 91

Warning: parse_url(http://javascript:void(0)) [function.parse-url]: Unable to parse URL in [path]/skimlinks/includes/class_skimlinks.php on line 91
Irish SEO, Marketing & Webmaster Discussion - View Single Post - Full text search returns an empty string, can't understand

View Single Post

  #1 (permalink)  
Old 14-04-2008, 10:32 AM
oliflorence oliflorence is offline
Coder
 
Join Date: Jan 2007
Location: Navan, Co Meath
Posts: 77
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Thanks: 0
Thanked 0 Times in 0 Posts
oliflorence will become famous soon enough
Default Full text search returns an empty string, can't understand

Hello,
I have an sql search with data in a table which should be returned. However the I am getting an empty set back.
I enclose below the SQL I am using and the table:

Code:
SELECT poisonId, poison, latin_name, short_desc, status FROM tblpoisons WHERE MATCH (poison,latin_name,short_desc,full_desc) AGAINST ('%poison%')
Here is the table:
Code:
CREATE TABLE `tblpoisons` ( `poisonId` int(11) NOT NULL auto_increment, `catId` int(11) default NULL, `poison` varchar(150) default NULL, `latin_name` varchar(150) default NULL, `short_desc` varchar(250) default NULL, `Full_desc` mediumtext, `status` tinyint(1) default NULL, PRIMARY KEY (`poisonId`), FULLTEXT KEY `searchindex` (`poison`,`latin_name`,`short_desc`,`Full_desc`)) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
Many thanks
Reply With Quote