Im currently trying to get my head around full text searching. Ive found numerous tutorials and examples on code on these boards, but my code still doesnt seem to work, as its always bring a mysql error?!
Ive set up my table which will be searched, with 6 fields which are of TEXT type. Ive made these fulltext with the following..
CREATE FULLTEXT INDEX full_index ON profile(
profile_career,
profile_location,
good_memories,
bad_memories,
most_missed,
profile_message
);
Then the sql im using is ...
$sql = "SELECT * FROM profile WHERE MATCH (profile_location, profile_career) AGAINST ('$keywords')";
But i seem to be getting errors, and i have changed the code that many times, i dont know what is wrong with the sql, but im getting an error on the mysql_fetch_array() line which executes the above sql?!
Any ideas on how to narrow it down?!