I'm trying to replace the first occurence of a string but ereg_replace replaces every occurence. Is there any way I can get round this?
sure!
$i=1; while ($i=1){ ereg_replace("grey", "gray", $color); $i=$i++; }
-=John=-