How to I check to see if an value exists before I display html tags
The following example would check if the hotel has some attraction info. If it does then
the table row would display and the attractioninfo tag would be replaed with the contents.
<table>
<tr><td>Hotel Features</td></tr>
<!--{if $attractioninfo}-->
<tr>
<td class="titlesdetailpage" valign="top" height="22"><br />
<a name="attractioninfo"></a><span class="amenities">Neary By Attractions</span></td>
</tr>
<tr><td class="details_text" valign="top"><!--{$attractioninfo}--></td></tr>
<!--{/if}-->
</table>
Note: The if statement can be used with any variable in the templates