Posted by RageARC on 09/24/07 18:15
> This is untested but try this out... > > preg_replace("\[COLOR\][a-zA-Z]+\[/COLOR\]", "<div id = '" . $color . > "'>" . $color . "</div>", $string); Where did you get the $color variable?
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming