GNA-$Firma
"; // mysql_query("UPDATE ll_adresse SET Firma = 'GNA-$Firma' WHERE id='$oid'"); } if (strstr($Firma, "GNA-BRE-") OR strstr($Firma, "GNA-GEE-") OR strstr($Firma, "GNA-ZEV-") OR strstr($Firma, "GNA-SOT-") OR strstr($Firma, "GNA-SCH-") OR strstr($Firma, "GNA-ROT-") OR strstr($Firma, "GNA-SIT-") OR strstr($Firma, "GNA-SEL-") OR strstr($Firma, "GNA-VIS-") OR strstr($Firma, "GNA-TAR-")) { $trans = array('GNA-BRE-' => "BRE-",'GNA-GEE-' => "GEE-",'GNA-ZEV-' => "ZEV-",'GNA-SOT-' => "SOT-",'GNA-SCH-' => "SCH-",'GNA-ROT-' => "ROT-",'GNA-SIT-' => "SIT-",'GNA-SEL-' => "SEL-",'GNA-VIS-' => "VIS-",'GNA-TAR-' => "TAR-"); $Firma=strtr("$Firma", $trans) ; mysql_query("UPDATE ll_adresse SET Firma = '$Firma' WHERE id='$oid'"); } }