Log in

View Full Version : if statements


lesliexo
10-02-2008, 12:45 PM
hi guise

y wont dis work

<if condition="$show['field17'] == 'Yes'">
hi
<else />
bla bla
</if>

im obv doin somethin wrong
ive selected 'Yes' as my option but its still saying 'bla bla' (this is in the postbit_legacy template)

Dismounted
10-02-2008, 02:17 PM
Assuming it is a profile field, you need to use the $post array in postbit.