ChrisB: If Abfrage mit ODER

Beitrag lesen

Hi,

warum funktioniert diese PHP If-Abfrage nicht?

Warum kommst du uns mit "funktioniert nicht", obwohl du doch wissen solltest, dass das Mist ist?

if(($kasse!=2) || ($kasse!=4) || ($kasse!=5)){

Und welchen Wert hat $kasse?

MfG ChrisB

--
„This is the author's opinion, not necessarily that of Starbucks.“