On Wed, 18 Aug 2004 10:42:54 +0200
Jay <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> Why can? i get this code to work:
> $html = $_POST["htmlIn"];
> 
> $patterns[0] = "/<strike>/";
> $patterns[1] = "/</strike>/";
> $patterns[2] = "/align=\"left\"/";
> 
> $replacements[0] = "<del>";
> $replacements[1] = "</del>";
> $replacements[2] = " style=\"text-align:left;\"";
> 
> $xhtml = preg_replace($patterns, $replacements, $html);


$patterns[1] = "/<\/strike>/";

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to