Welcome Guest, Not a member yet? Register   Sign In
Not able to pass data to a view
#9

[eluser]techgnome[/eluser]
I meant the loop INSIDE your view file... not in your controller... (in fact there isn't a loop in the controller, but I'm being pedantic).

this is what I meant:
Code:
<? foreach ($map as $k => $v) {
        echo "<dt>$k</dt>
              <dd>$v</dd>"
    } ?&gt;

What happens when you take that out? Does the view load then?

-tg


Messages In This Thread
Not able to pass data to a view - by El Forum - 09-16-2010, 04:39 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 05:46 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 05:48 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 06:09 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 06:19 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 06:48 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 07:03 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 08:03 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 09:52 AM
Not able to pass data to a view - by El Forum - 09-16-2010, 02:49 PM
Not able to pass data to a view - by El Forum - 09-16-2010, 10:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB