Forum Moderators: coopster
Strings would be easy. Compare the original to the new string after the function to see if they are the same. Arrays would follow the same logic, just more code.
If I upgrade my PHP then $count would be a simple solution. That could be easier than re-thinking the logic. I'll have another look after a good days sleep :) Thanks.