Hi All,
I'm newish to php & have an issue on a project I'm working on...
I've an array containing zip codes which displays if I echo it like
it returns 926299262492693 926779267592673 926079267492672
I need to implode/explode with commas so it passes like 92629,92624,926 93,92677,92675, 92673,92607,926 74,92672 so I can use it as a WHERE IN condition.
What's the best way to do this?
Thanks
Karl
I'm newish to php & have an issue on a project I'm working on...
I've an array containing zip codes which displays if I echo it like
Code:
echo "$key";
I need to implode/explode with commas so it passes like 92629,92624,926 93,92677,92675, 92673,92607,926 74,92672 so I can use it as a WHERE IN condition.
What's the best way to do this?
Thanks
Karl
Comment