Okay so I didn't know how to title this. I have an embedded player in the profiles. If user puts in their code on the profile fields it will show their player. How do I code it so if they dont enter anything in the profile fields to display a default player?
Say the code is
Code:
<if condition="$userinfo[field17]">
<if condition="$userinfo[field18]">
<div id="myspace" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('myspace')"><img id="collapseimg_myspace" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
<a name="albums"></a>
<span class="block_name">Music Player</span>
</h4>
<div class="block_content" id="collapseobj_myspace" style="">
<div class="alt2" align="center">
<body><embed type="application/x-shockwave-flash" src="http://thelink/Embed.ashx/1=$userinfo[field17],2=$userinfo[field18]" e=http%3A//thelink/%$userinfo[field18]%$userinfo[field17]" width="247" height="400">
</body></div></div></div></if></if>
I know little but tried the <else /> after without the closing </if>s but that did nothing.
Any help would be great.