• Resolved Nitrat

    (@nitrat)


    Hello
    This code dont work –

    if ( $user == 24) {
    			$kto = "First";
    			$stra = "Second";
    			}
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Where do you set the $user variable? And where do you output $kto and $stra?

    I see no issue with that conditional statement. Provided $user is set to 24 the two variables you set will become “First” and “Second”, respectively.

    Thread Starter Nitrat

    (@nitrat)

    Thank you, it worked

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Operator IF in custom template’ is closed to new replies.