Code:
while(strpos($tag, ' =') > 0) $tag = str_replace(' =', '=', $tag);
while(strpos($tag, '= ') > 0) $tag = str_replace('= ', '=', $tag);
while(strpos($tag, ', ') > 0) $tag = str_replace(', ', ',', $tag);
while(strpos($tag, ' ,') > 0) $tag = str_replace(' ,', ',', $tag);
Php:
<?php
while(strpos($tag, ' =') > 0) $tag = str_replace(' =', '=', $tag);
while(strpos($tag, '= ') > 0) $tag = str_replace('= ', '=', $tag);
while(strpos($tag, ', ') > 0) $tag = str_replace(', ', ',', $tag);
while(strpos($tag, ' ,') > 0) $tag = str_replace(' ,', ',', $tag);
$a["zut"] = $a["soep"];
$a[woei][/woei]
?>