Hit a snag trying to improve the routine I used to manage CSV's I use this routine to strip the extra spaces out of a CSV list like:
Bob , Joe, Dave , Ed
$i = explode(",", $value);
foreach ($i as $ii) {
$out[] = trim($ii);
}
$value = implode(",", $out);
Can anyone see what I'm doing wrong? It seems to be having no effect
on the spaces...
Cheers,
Dan
_______________________________________________
pmwiki-devel mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
