PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Ok, I got that right..
I'm now trying to do that with multiple tag words in a row.
But it just gives the count array per row and starts again for the next instead of a global view on the results.
Hmm, I put a for loop in the while statement to add the results to a specified array but it just loops the same array x-times and moves on to the next row
I do need to place a for loop with array_merge in there or how would you do it?
thiscatis, the problem you have here arises from the wrong database design. Instead of storing a bunch of comma separated values in one column, use a secondary table and JOINs.