Jump to content

pomonthebeach

New Members
  • Posts

    3
  • Joined

  • Last visited

pomonthebeach's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Now It's working. Thank you very much. But I change a little bit like this function Relink($linkstrip) { $linkstrip = str_replace(array(' ', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '+', '|', '\\', '\'', '"', '[', ']', '{', '}', ':', ';', '.', ',', '/', '?', '', '<', '>'), "-", $linkstrip); Happy New Year!!!
  2. Thank you for your answer The error is gone. But I cannot use Relink($linkstrip) function anymore. Because I use like ... $link=Relink($sr[condo_typename]); ... <a href="<?=$siteurl;?><?php echo"".Relink($link)."";?>">TITLE</a> ... Please help me Thank you again.
  3. I am change the PHP 5.2 to PHP 5.3 and trying to use preg_match replace ereg_replace. But I keep getting the error Warning: preg_replace() [function.preg-replace]: No ending delimiter '_' in code function Relink($linkstrip) { $linkstrip = ereg_replace('_+', '-', str_replace(array(' ', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '+', '|', '\\', '\'', '"', '[', ']', '{', '}', ':', ';', '.', ',', '/', '?', '', '<', '>'), '_', trim(ereg_replace('[[:space:]]+', ' ', trim($linkstrip))))); Can anyone please help me? Thank you Best Regards, Pom
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.