Code Comments
Programming Forum and web based access to our favorite programming groups.is there a more elegant way to code below..The variable companed is also
tpart of the file name
{if $report_type == 'general'}
{include file="reports.general.inc.html"}
{elseif $report_type == 'ppm'}
{include file="reports.ppm.inc.html"}
{elseif $report_type == 'finance'}
{include file="reports.finance.inc.html"}
{elseif $report_type == 'testing'}
{include file="reports.testing.inc.html"}
{/if}
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.