I'm using a loop to try to generate keyword combinations and also find the ones that have been used the most.
The loop finds all the records in the "posts" table where keyword = "chicago".
Within this loop, I need to generate strings. Which, would look something like "chicago bulls" "chicago bears" "chicago cubs" etc... How do I temporary hold these generated strings and count how many times they have been found within the loop?