does anyone know how to replace '&' with 'and' i tried the code below but it dosnt work..
$hash = eregi_replace("&", "and", $source);
thanks..
you don't need regex functions for this, just use str_replace:
$string = str_replace ('&', 'and', $string);
great
that works..
cheers