Welcome Guest, Not a member yet? Register   Sign In
How can I want pass a string with the view content instead of a file name when loading a view?
#7

[eluser]frankabel[/eluser]
Thanks again. I read the link first time you sent it but I don't get it Sad

If you are refering to:

Code:
$this->output->set_output($data);

well, I really don't know what
Code:
$data
is, speaking in the context of my example, I don't know if
Code:
$data
var is
Code:
'&lt;html&gt;&lt;body><h1> My name is:&lt;?php echo $name?&gt;</h1>&lt;/body&gt;&lt;/html>'
or what? in case that is the template content, where I specify the place holders values?, I mean, when I put
Code:
echo $name
, where the value of $name var come from if I don't pass it?


Messages In This Thread
How can I want pass a string with the view content instead of a file name when loading a view? - by El Forum - 09-26-2012, 11:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB