Log in

View Full Version : frustrated with code


Hex_legend
11-14-2008, 02:40 PM
This is really frustrating as I am sure the code is correct but the forum is not pulling the data.

I have a GENDER field at Field 6.

I am using the code:

<if condition="$post['field6']">$post[field6]<else />Not Defined</if>

I have selected "MALE" in User CP >> Edit Details and clicked Save.

On my profile, it comes up "UNDEFINED"


help!!!!:mad:

Lynne
11-14-2008, 02:56 PM
Where are you using that code? It's only going to work on a showthread page. You need to use $userinfo instead of $post on most other pages.