PDA

View Full Version : Category association help


phil2564
01-08-2006, 11:13 PM
If the below statment can be used to Identify to the Parent Id in the table
PLD_CATEGORY
{if $category.PARENT_ID == 0}

In that same table how can I associate with the first column called ID
I tried getting rid of PARENT and doing it like


{if $category.ID == 1}


__________________________________________________ ______
BEtter yet I want to call for a include by the ID in the category can anyone tell me how to call it I thought this would have been how to do it.
{if $category.ID ==1 }
{php}include("myfile.php");{/php}
{/if}

{if $category.ID == 2}
{php}include("myfile2.php");{/php}
{/if}

But it aint working