Welcome Guest, Not a member yet? Register   Sign In
Message: Wrong parameter count for preg_replace()
#2

[eluser]Federico BaƱa[/eluser]
I can only think of $value being empty.

EDIT:

The third parameter is the string or array of strings where to look, you're there putting an empty array. That may be the issue.

http://php.net/manual/en/function.preg-replace.php

also I read around that it has something related to the PHP version you're on, not sure


Messages In This Thread
Message: Wrong parameter count for preg_replace() - by El Forum - 07-28-2010, 06:10 PM
Message: Wrong parameter count for preg_replace() - by El Forum - 07-28-2010, 06:42 PM
Message: Wrong parameter count for preg_replace() - by El Forum - 07-28-2010, 07:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB