Welcome Guest, Not a member yet? Register   Sign In
How to work with matrix on view file
#1

[eluser]Unknown[/eluser]
Hello...i need help....how can i work with a matrix on th view file....can i do something like this..
Code:
<?=$data['box1']['title']
...

i don't know if it possible...
#2

[eluser]Developer13[/eluser]
So in your controller you're passing an array to the view as such:

$data['box1']['title'] = "Title";

?

Your view would display the variable as such:

<?=$box1['title'];?>




Theme © iAndrew 2016 - Forum software by © MyBB