hello,
You can read the mysql manual sections
6.3.2.1 String Comparison Functions
6.3.2.2 Case-Sensitivity
I assume you are doing something like "$search was found 54 time in database" based on the count(id) in the select query. You can use "count(id) as total FROM" so that the count data will be called total.
You need to use a "GROUP BY" when using a count().. possibly you don't when just using one comun but try this out..
$sql = "SELECT count(id) as total FROM table WHERE title LIKE '%$search%' GROUP BY total";
let me know if this works,
- justin