I am not seeing any preg_replace code in here.. did you make changes?
When I click on the link, I am getting:
"Warning: preg_replace() [function.preg-replace]: Unknown modifier '<' in /home/www/livescore-bg.net/www/lolo/proba2.php on line 31"
This means that you are not using a proper delimiter setup in your preg_replace fucntion.. you probably have something unbalanced along the lines of:
$variable = preg_replace('<....', '.....', $variable);
unlike str_replace, preg requires a set of delimeters that match.. the format is:
preg_replace('#....#', '...', $variable); as an example.
The basic rule is that delimiters can be any non-alphanumeric, non whitespace ASCII character (except a backslash),
So your delimiters could be say, !......!, or ~......~
You can use <....>, but be careful with such things, as you may be intending to treat those as tag characters, but without the proper setup, those characters are in fact considered the delimiters (delimiters canstart with say < or [, but must close as > or ] respectively), which means only everything within them are considered the pattern.. so it would need to be '#<....>#' by example.
Finally, with regards to delimiters, any character within the pattern that is the same as a matching delimiter must be escaped with the backslash to let the regex engine know that this is not the end of the patter.. example:
/...\/...../ (without that middle backslash, this is telling the engine that the pattern is finishes, yet will yeild to errors as this is not syntactically correct (this may also be a possible error for you).
Perhaps showing the preg_replace line of code if you still can't get it working?