Re: Help adding a <br> tag in a php file for listed products
When i am using tpl files if i want to display something in a particular way for customers to see VS admin/provider users etc.. i would apply something like the below.
example.
"C" means customer-end users:
{if $usertype eq "C"}
<FONT class="DetailsTitle">{$lng.txt_header}</FONT>
{else}
{$lng.txt_header}
{/if}
Q. how do i write this IF,ELSE statement but in php with the below example.
$product_line .= "\n".$product['product'].' #'.$product['productid']."<BR></BR>";
|