I parse all my input value through a class that strips malicious code...
Unfortunatelly the suggestion did not work. My guess, it is because I run $union_array[] = $_POST[$key]; from within a nother array's loop. Whether there's a value posted or not, I get a count == 5 which is the number of the the values in $myArray.
I guess, what I need to do is detect the output of the $dbValue. Currently, whether it has values or not, it returns five commas -- the implode connectors.
So, when I select just one value, I can get ,Value2,,, which is probably not correct.
Arrays is my weakest link...
:glare: