Welcome Guest, Not a member yet? Register   Sign In
how can i write a path in a view??
#1

[eluser]helle[/eluser]
in my controller i do this:

Code:
$this->data['imgpath'] = $_FILES['name']['name'];

and in my view this:

Code:
<div id="result">&lt;?=$imgpath?&gt;</div>

this leads to an no found error, which i can find in the error log.

How can i pass a path to my view??


Messages In This Thread
how can i write a path in a view?? - by El Forum - 07-22-2010, 11:57 AM
how can i write a path in a view?? - by El Forum - 07-22-2010, 12:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB