Hi, I have a string that using a delimator i turn into an array like follows:
$v = "50297:50297:50297:50294:50294:50294:50295:50295:";
$a = explode(':', $v);
I then just list them without repeating any like so :
foreach ((array_unique($a)) as $value) {
echo "$value <br>";
$counter++;
}
Now this works fine, as it only shows 3 different value but the counter has 4????? Why is this? Also when i add code to send an emal instead of count it is god awful slow!
Thanks
Jules