Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created October 28, 2014 18:50
Show Gist options
  • Save objectivehtml/cfa307e78e0a35a4e52b to your computer and use it in GitHub Desktop.
Save objectivehtml/cfa307e78e0a35a4e52b to your computer and use it in GitHub Desktop.
Difference Between parse_variables_row and parse_variables
ee()->TMPL->parse_variables_row(array(
'var_1' => 1,
'var_2' => 2,
'var_3' => 3
));
ee()->TMPL->parse_variables(array(
array(
'var_1' => 1,
'var_2' => 2,
'var_3' => 3
),
array(
'var_1' => 4,
'var_2' => 5,
'var_3' => 6
),
array(
'var_1' => 7,
'var_2' => 8,
'var_3' => 9
),
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment