Welcome Guest, Not a member yet? Register   Sign In
Passing data to view
#6

[eluser]esset[/eluser]
Oh yes sorry. You can't access the variable that "transfers" the data.

Please try this in your view:

print_r($text);
or
echo $text


The array is converted for use in the template. So you could do this to achieve what you are asking for:

$test = array();
$test['test'] = array('text' => 'some text');

Then do:

print_r($test);


Messages In This Thread
Passing data to view - by El Forum - 07-20-2010, 07:03 AM
Passing data to view - by El Forum - 07-20-2010, 07:06 AM
Passing data to view - by El Forum - 07-20-2010, 07:08 AM
Passing data to view - by El Forum - 07-20-2010, 07:09 AM
Passing data to view - by El Forum - 07-20-2010, 07:10 AM
Passing data to view - by El Forum - 07-20-2010, 07:11 AM
Passing data to view - by El Forum - 07-20-2010, 07:15 AM
Passing data to view - by El Forum - 07-20-2010, 07:32 AM
Passing data to view - by El Forum - 07-20-2010, 09:09 AM
Passing data to view - by El Forum - 07-20-2010, 09:13 AM
Passing data to view - by El Forum - 07-20-2010, 09:13 AM
Passing data to view - by El Forum - 07-20-2010, 09:15 AM
Passing data to view - by El Forum - 07-20-2010, 09:16 AM
Passing data to view - by El Forum - 07-20-2010, 09:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB