View Single Post
Old 01-07-2013, 05:08 PM   PM User | #2
Redcoder
Regular Coder

 
Redcoder's Avatar
 
Join Date: May 2012
Location: /dev/couch
Posts: 309
Thanks: 2
Thanked 46 Times in 45 Posts
Redcoder has a little shameless behaviour in the past
Check how you've written your variable - You've forgotten the $:

PHP Code:
<?php if (field_country) == "1") { ?>
<dt>State</dt>
Should be:

PHP Code:
<?php if ($field_country) == "1") { ?>
<dt>State</dt>
__________________
For professional Hosting and Web design.....


NetEssentials.co.uk
Redcoder is offline   Reply With Quote