address...it might be that the IE6 is compliant with the xhtml standards and wil not regard the single quote as correct...
echo "<a href=\"add_ad.php?catid=$catid&catfatherid=$catfatherid\">", $file); }
else { $file = str_replace("{URL}", "<a href=\"index.php?kid=$catid&catname=$catname\">", $file); }
$file = str_replace("{/URL}", "</a>"
the \ character escapes the " to prevent php from reading it as the end of the quoted item....
hth