I have a php/mysql script which doesn't function! I need to find out how many rows of a string does exist and i have to count from an "boolean full text" function.
this is the code which doesn't function:
$resuslt=mysql_query("SELECT COUNT(homeid)
FROM notes
WHERE MATCH(title, text, tags) AGAINST('+$searchstring*' IN BOOLEAN MODE) AS accurate
FROM notes
WHERE MATCH(title, text, tags) AGAINST ('+$searchstring*' IN BOOLEAN MODE)");
What should i do?