|
Posted by aaron on 03/17/06 17:28
I have an array from -
$eventoptions = explode("," ,$eventoptions);
Now I to put all the results from $eventoptions into the patTemplate
engine inorder to display the results.
I am trying to do this through
$tmpl->addVars( 'body-list-rows', $eventoptions, 'row_' );
The problem is inorder to use the addVars function I need $eventoptions
to be an associative array.
"void addVars( string $template, array $variables, [string $prefix =
""] )
Adds several variables to a template
Each Template can have an unlimited amount of its own variables
$variables has to be an assotiative array containing variable/value
pairs"
Anyone have anyideas how to feed results from "$eventoptions =
explode("," ,$eventoptions);" to the patTemplate
[Back to original message]
|