HMBeaty
05-23-2009, 10:02 PM
I know this is a simple mistake but I haven't coded anything with <else /> in a long time.
If you can tell by the code here:
<if condition="$bbuserinfo['field11']">
<dt class="shade">$vbphrase[usml_myspace]</dt>
<dd><a href="http://www.myspace.com/$userinfo[field11]" target="_blank">$userinfo[field11]</a></dd>
<else />
<dd>This user has not entered his MySpace Friend ID</dd>
</if>
I'm trying to display the users MySpace Profile ID, which I got that down, BUT, if they don't, I want it to display the "This user has not entered his MySpace Friend ID". But I can't get that working right. What am I doing wrong? lol
If you can tell by the code here:
<if condition="$bbuserinfo['field11']">
<dt class="shade">$vbphrase[usml_myspace]</dt>
<dd><a href="http://www.myspace.com/$userinfo[field11]" target="_blank">$userinfo[field11]</a></dd>
<else />
<dd>This user has not entered his MySpace Friend ID</dd>
</if>
I'm trying to display the users MySpace Profile ID, which I got that down, BUT, if they don't, I want it to display the "This user has not entered his MySpace Friend ID". But I can't get that working right. What am I doing wrong? lol