using a full search class
| From: | Shantanu Oak | Date: | Thu, 20 Mar 2003 15:15:55 +0000 |
| Subject: | using a full search class | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26514@lists.php.net to get a copy of this message | ||
Hi,
I found the Full Search Class that will help me to
find a word in any column.
http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/125901
I have tried printing the results with print_r along
the following code mentioned on the page,
$mysearch = new MysqlSearch;
$mysearch->setidentifier("MyPrimaryKey");
$mysearch->settable("MyTable");
$results_array = $mysearch->find($mysearchterms);
I am getting the text array() as a result.
What am I doing wrong? Can anyone point me to a good
tutorial on class and array?
Thanks
Shantanu Oak
shananuo@yahoo.com
http://www.shantanuoak.com
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com