A little help for a newbie |
[eluser]CroNiX[/eluser]
The array that gets passed to the view must be an associative array as CI will extract() that array into variables in the view so you can access its keys using $key. Code: $data['thisdat'] = 'This data'; ...In view Code: echo $thisdat; //outputs 'This data' |
Messages In This Thread |
A little help for a newbie - by El Forum - 01-18-2012, 12:22 PM
A little help for a newbie - by El Forum - 01-18-2012, 12:27 PM
A little help for a newbie - by El Forum - 01-18-2012, 12:32 PM
A little help for a newbie - by El Forum - 01-18-2012, 12:35 PM
A little help for a newbie - by El Forum - 01-18-2012, 12:47 PM
|