To setup a table to work with a MySQL FULLTEXT Match query, you must first match sure the table is MyISAM. You can alter your table using this query:
ALTER TABLE `table_name` ENGINE=MyISAM;
Next you need to create an index of fields want to search through. You can use this query as an example:
ALTER TABLE `table_name` ADD FULLTEXT `index_name` (`field_name_1`,`field_name_2`,`field_name_3`,`field_name_4`);
Now you can run a match query!
0 comments ↓
If you found this post useful click the share this button. Contribute below by adding a comment, no registration is required.
DCE Related Posts
Read Full Article...
Read Full Article...
This post teaches you how to set your MySQL search queries to be Case sensitive or case insensitive. Read Full Article...
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment