This question already has an answer here:
I'm pretty new to PHP (we're talking about a couple of days ;) and I have a problem I cannot resolve myself by now.
The function ereg_replace is deprecated, so I need to replace it with preg_replace as far as I understand.
How do I do that for "function ereg_replace ($pattern, $replacement, $string) {}"? Is there a guide or something?
Cheers, Ruby
</div>