Hi,
Can someone please help me, i am trying to use this function but simply wont display when i try it.
The function is:
[php]function stripres($value){
$value = strtr($value, "éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ. ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz--");
$value = ereg_replace('[^a-zA-Z0-9_-]', '', $value);
return $value;
}[/php]
I am trying to use this by:
{stripres($result.subcategory)}
What am i doing wrong?
Cheers,
Adam