• if ($link->type!="-") $replacement = $replacement.'target="'.$link->type.'"';
    					if ($link->rel!="-") $replacement = $replacement.'rel="'.$link->rel.'"';
    					$replacement =	$replacement.'title="'.$link->anchortext.'" >'.$isFind[0].'</a>';

    This code has problems with validation w3c, how to validate it? 🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • You show us a link to the result so we can see the validation error?

    saying there’s an error without telling us the error is fairly useless 🙂

    Thread Starter pippocl

    (@pippocl)

    Solved, must add a space after target rel and title 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with validation, change little codes’ is closed to new replies.