Forum Moderators: coopster
in eah row, the keywords column consists of a set of words separated by spaces, ex: row1 keywords = 'stuff boing foo'.
row3's keywords column might contain SOME of the keywords that were in row1's keywords, and it might contain a few others too.
I want to query the table and get a php array of all the UNIQUE keywords in the entire table -- in other words I don't want to have any duplicates in the array.
maybe I could put some in my php for inserting a row and make it compare the new row's keywords to a AllKeywordsInTheTable list and then add any new keywords to AllKeywordsInTheTable
Instead of using mysql to store the keyword list I use an external php file, then reference it from my pages.
To control which keywords are presented I use a loop. (Similar to returning actual results, but I only loop through a single col. or set of id's... I do not diplay any of the information from the db, just check to see which information it is, then display the keywords associated with the condition present.)
It takes a little work to set up and display the correct words, without ever repeating, but I serve over 500 pages of keywords and descriptions this way with no repeats...
I'll expand more if you think this might be something you want to try.
Justin