passing php array between diferent user tags
Posted: Mon Jul 27, 2009 4:05 pm
I have a page with this structure.
{user_tagA}
some html tags...
{user_tagB}
{user_tagC}
The user_tagA connects to another database, makes some queries and creates a 3D array.
I would like to use the 3D array in user_tagB, and user_tagC
I read some posts about creating a smarty variable with $smarty->assign('varname',$Array3D').
I managed to do that but then I don't know how to get the smarty varname from the other user_tags.
thanks in advanve.
{user_tagA}
some html tags...
{user_tagB}
{user_tagC}
The user_tagA connects to another database, makes some queries and creates a 3D array.
I would like to use the 3D array in user_tagB, and user_tagC
I read some posts about creating a smarty variable with $smarty->assign('varname',$Array3D').
I managed to do that but then I don't know how to get the smarty varname from the other user_tags.
thanks in advanve.