I have this condition in php
if ($Parametros[1] != "Pedidos" or $Parametros[1] != "Presupuestos") { }
The idea is that if $Parametros[1]
is not "Pedidos"
or "Presupuestos"
that is executed what is inside the brackets.
for some reason it does not work for me :( I tried to put it in parentheses but not
if (($Parametros[1] != "Pedidos")or($Parametros[1] != "Presupuestos")) {
if I put only one condition if it works, but with the or
no.
if ($Parametros[1] != "Pedidos") { }
What is wrong with the condition so that it does not run?