I am trying to split the results of an sql query but I am having some issues.
I am trying to use the results of the query as a conditional argument in an if statement and it works for the most part however, some of the results from the query have comma delimited values and some do not. When I apply the if statement later in the program it works when the results of this code show a single value but it does not work when the results of this query show a comma seperated result so I am trying to split the results of this query on any commas and return the results comma free and as seperate array elements.
__________________________________________________ ____________
__________________________________________________ __________
This currently only removes the commas but does not return the comma delimited values as seperate array elements.
Thanks to everyone for your assistance,
-vbsaltydog