Syntax help
Posted: Thu Jun 17, 2010 11:47 am
I currently have calls to a translation table that look like this
They are working just fine
I have added a number of items to the translation tables. Those additions are items that are already variables that the system currently calls like this
Now I do not know the proper syntax to make this work but If I could say I need something like
I want the result of $rowsubcat['subcatname'] to go through the translation table ($lang)
I see however that this may not be correct, but not sure I have not made an error elsewhere. If anyone underrstands what I am trying to do please let me know what is the correct syntax, if this is incorrct.
Any help appreciated.
Thanks
Mark
Code: Select all
<?php echo $lang['ACCOUNT_LINK']; ?>
I have added a number of items to the translation tables. Those additions are items that are already variables that the system currently calls like this
Code: Select all
<?php echo $rowsubcat['subcatname']; ?
Now I do not know the proper syntax to make this work but If I could say I need something like
Code: Select all
<?php echo $lang($rowsubcat['subcatname']); ?>
I see however that this may not be correct, but not sure I have not made an error elsewhere. If anyone underrstands what I am trying to do please let me know what is the correct syntax, if this is incorrct.
Any help appreciated.
Thanks
Mark