Need help with an if statement

From: Date: Mon, 24 Apr 2006 05:24:58 +0000
Subject: Need help with an if statement
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-234608@lists.php.net to get a copy of this message
Hello, I am really new to all this and I am really hoping I can get some help PLEASE... I am making a website with x-cart which uses PHP and Smarty templates. I need to make an " if " statement that puts a little arrow gif in front of the link that is clicked on! make any sense? In other words: item 1 (not selected) item 2 (not selected)
item 3 (selected) item 4 (not selected)
This is what I have now, but I don't know what to call my {if ?????} {if ?????}<A href="{?????}"><FONT class="buttontextonly"><IMG src="{$ImagesDir}/arrow.gif" width="9" height="7" border="0" align="abstop">{$menu_content}</FONT></A> {else} <FONT class="VertMenuTitle">{$menu_content}</FONT> {/if}</TD>

« previous php.general (#234608) next »