--- vet_smpc.php 2001/10/01 14:05:16 1.2 +++ vet_smpc.php 2002/01/17 10:14:13 1.5 @@ -15,7 +15,12 @@ $sth = $dbh->prepare("select brand,form from vet_products where smpc=$smpc"); $sth->execute(); - if ($row=$sth->fetchrow_hash()) $title.=" : $row[brand] $row[form]"; + if ($row=$sth->fetchrow_hash()) { + $title.=" : $row[brand] $row[form]"; + $title=str_replace("®","®",$title); + $main=str_replace("µ","µ",$main); + $main=str_replace("≅","≅",$main); + } } $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); @@ -23,6 +28,8 @@ include("find_html_file.inc"); if (file_exists(find_html_file("vet",$smpc))) { $main=join('',file(find_html_file("vet",$smpc))); +# $main=str_replace("Â","",$main); // hm? + $main=str_replace("®","®",$main); } include("common.inc");