[COLOR=#ff0000]
[COLOR=#ff0000]Hallo an alle hab mal eine frage wie bekomme ich es in das wenn KNRANR und telefon falsch sind anstatt das jeweilige echo nur eins raus bekomme: (also mit nur eins meine ich dann letzteres also "BITTE ALLE ROT MARKIERTEN FELDER AUSFÜLLEN!"[/COLOR]
[COLOR=#ff0000]<?php[/COLOR]
[/COLOR]if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"Senden"[/COLOR][/COLOR]])){
if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"KNRANR"[/COLOR][/COLOR]]) && [COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"KNRANR"[/COLOR][/COLOR]] ==[COLOR=#0000f0][COLOR=#0000f0]""[/COLOR][/COLOR]) {
echo [COLOR=#0000f0][COLOR=#0000f0]"Bitte Kunden bzw Abonummer angeben!"[/COLOR][/COLOR];
[COLOR=#800000][COLOR=#800000]$fehlerknranr[/COLOR][/COLOR] =[COLOR=#ff0000][COLOR=#ff0000]17[/COLOR][/COLOR];
[COLOR=#800000][COLOR=#800000]$var[/COLOR][/COLOR] = [COLOR=#ff0000][COLOR=#ff0000]99[/COLOR][/COLOR];
}}
[COLOR=#ff0000][COLOR=#ff0000]?>[/COLOR][/COLOR][COLOR=#ff0000]
[/COLOR][COLOR=#ff0000][COLOR=#ff0000]<?php[/COLOR][/COLOR][COLOR=#ff0000]
[/COLOR]if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"Senden"[/COLOR][/COLOR]])){
if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"telefon"[/COLOR][/COLOR]])&& [COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"telefon"[/COLOR][/COLOR]] ==[COLOR=#0000f0][COLOR=#0000f0]""[/COLOR][/COLOR]){
echo [COLOR=#0000f0][COLOR=#0000f0]"Bitte Telefon Nummer eingeben!"[/COLOR][/COLOR];
[COLOR=#800000][COLOR=#800000]$fehlertelefon[/COLOR][/COLOR] =[COLOR=#ff0000][COLOR=#ff0000]18[/COLOR][/COLOR];
[COLOR=#800000][COLOR=#800000]$var[/COLOR][/COLOR] = [COLOR=#ff0000][COLOR=#ff0000]99[/COLOR][/COLOR];
}}[COLOR=#ff0000][COLOR=#ff0000]?>[/COLOR][/COLOR]
[COLOR=#ff0000][COLOR=#ff0000][COLOR=#ff0000][COLOR=#ff0000]<?php[/COLOR]
[/COLOR]if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"Senden"[/COLOR][/COLOR]])){if((empty ([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR])== ([COLOR=#800000][COLOR=#800000]$var[/COLOR][/COLOR] == [COLOR=#ff0000][COLOR=#ff0000]99[/COLOR][/COLOR]))==[COLOR=#0000f0][COLOR=#0000f0]""[/COLOR][/COLOR]){
echo [COLOR=#0000f0][COLOR=#0000f0]"Bitte alle rot markiete Felder ausfüllen"[/COLOR][/COLOR];
}}
[COLOR=#ff0000][COLOR=#ff0000]?>[/COLOR][/COLOR][COLOR=#c0c000]
[/COLOR][/COLOR][/COLOR]
[COLOR=#ff0000]Hallo an alle hab mal eine frage wie bekomme ich es in das wenn KNRANR und telefon falsch sind anstatt das jeweilige echo nur eins raus bekomme: (also mit nur eins meine ich dann letzteres also "BITTE ALLE ROT MARKIERTEN FELDER AUSFÜLLEN!"[/COLOR]
[COLOR=#ff0000]<?php[/COLOR]
[/COLOR]if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"Senden"[/COLOR][/COLOR]])){
if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"KNRANR"[/COLOR][/COLOR]]) && [COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"KNRANR"[/COLOR][/COLOR]] ==[COLOR=#0000f0][COLOR=#0000f0]""[/COLOR][/COLOR]) {
echo [COLOR=#0000f0][COLOR=#0000f0]"Bitte Kunden bzw Abonummer angeben!"[/COLOR][/COLOR];
[COLOR=#800000][COLOR=#800000]$fehlerknranr[/COLOR][/COLOR] =[COLOR=#ff0000][COLOR=#ff0000]17[/COLOR][/COLOR];
[COLOR=#800000][COLOR=#800000]$var[/COLOR][/COLOR] = [COLOR=#ff0000][COLOR=#ff0000]99[/COLOR][/COLOR];
}}
[COLOR=#ff0000][COLOR=#ff0000]?>[/COLOR][/COLOR][COLOR=#ff0000]
[/COLOR][COLOR=#ff0000][COLOR=#ff0000]<?php[/COLOR][/COLOR][COLOR=#ff0000]
[/COLOR]if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"Senden"[/COLOR][/COLOR]])){
if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"telefon"[/COLOR][/COLOR]])&& [COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"telefon"[/COLOR][/COLOR]] ==[COLOR=#0000f0][COLOR=#0000f0]""[/COLOR][/COLOR]){
echo [COLOR=#0000f0][COLOR=#0000f0]"Bitte Telefon Nummer eingeben!"[/COLOR][/COLOR];
[COLOR=#800000][COLOR=#800000]$fehlertelefon[/COLOR][/COLOR] =[COLOR=#ff0000][COLOR=#ff0000]18[/COLOR][/COLOR];
[COLOR=#800000][COLOR=#800000]$var[/COLOR][/COLOR] = [COLOR=#ff0000][COLOR=#ff0000]99[/COLOR][/COLOR];
}}[COLOR=#ff0000][COLOR=#ff0000]?>[/COLOR][/COLOR]
[COLOR=#ff0000][COLOR=#ff0000][COLOR=#ff0000][COLOR=#ff0000]<?php[/COLOR]
[/COLOR]if(isset([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR][[COLOR=#0000f0][COLOR=#0000f0]"Senden"[/COLOR][/COLOR]])){if((empty ([COLOR=#800000][COLOR=#800000]$_POST[/COLOR][/COLOR])== ([COLOR=#800000][COLOR=#800000]$var[/COLOR][/COLOR] == [COLOR=#ff0000][COLOR=#ff0000]99[/COLOR][/COLOR]))==[COLOR=#0000f0][COLOR=#0000f0]""[/COLOR][/COLOR]){
echo [COLOR=#0000f0][COLOR=#0000f0]"Bitte alle rot markiete Felder ausfüllen"[/COLOR][/COLOR];
}}
[COLOR=#ff0000][COLOR=#ff0000]?>[/COLOR][/COLOR][COLOR=#c0c000]
[/COLOR][/COLOR][/COLOR]
Kommentar