If i put 1 or 2 into this it will return 4. Why is this?I\'m more used to python stuff so sorry if this is rather basic.
e = 1; f=0; if(e==1){f=1;} if(e==2){f=2
For your or statement, this is what you want:
or
if ( ($e == 3) || ($e == 4) ) { $f=4; }