Need help with an if statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>		

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux