Assuming you are using MyISAM engine, Execute:
ALTER TABLE products ADD FULLTEXT(brand);
The fulltext index should contain exactly the same number of columns, in same order as mentioned in MATCH clause.
More Related Contents:
- PHP mysql search multiple tables using a keyword
- PDO and MySQL Fulltext searches
- php (fuzzy) search matching
- How to sort MYSQL fulltext search results by relevancy
- PHP DateTime supported formats
- Can I call a PHP function in a JavaScript click handler?
- How to create a chat program using php and mysqli for chatting [closed]
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE `id` [closed]
- Can I store images in MySQL [duplicate]
- MySQL – This version of MySQL doesn’t yet support ‘LIMIT & IN/ALL/ANY/SOME subquery
- PHP PDOException: “SQLSTATE[HY093]: Invalid parameter number”
- Insert multiple rows with one query MySQL
- Why is using a mysql prepared statement more secure than using the common escape functions?
- localhost vs. 127.0.0.1 in mysql_connect()
- iPhone emoticons insert into MySQL but become blank value
- Inserting into MySQL from PHP (jQuery/AJAX)
- Selecting all columns that start with XXX using a wildcard?
- How to delete mysql row after time passes?
- How to store .pdf files into MySQL as BLOBs using PHP?
- Fatal error: Uncaught exception ‘mysqli_sql_exception’ with message ‘No index used in query/prepared statement’
- PDO MySQL: Insert multiple rows in one query
- Outputting all PHP errors to database not error_log
- Laravel nested relationships
- getting the value of an extra pivot table column laravel
- php sample script for pagination [closed]
- How to select rows where column value IS NOT NULL using CodeIgniter’s ActiveRecord?
- Cannot figure out how to run a mysqli_multi_query and use the results from the last query
- PDO and MySQL ‘between’
- PHP add up two time variables
- SQLSTATE[HY000] [1698] Access denied for user ‘root’@’localhost’