Welcome Guest, Not a member yet? Register   Sign In
Dynamic Footers
#8

[eluser]Colin Williams[/eluser]
There is a serious flaw in your logic.

Code:
<?php print $this->includes->footer_find_merchants(); ?>

This is going to literally print 'Array', because all you return from that method is an array.

Then you're trying to access $retail, when it is actually in $data['retail'] (actually, it's no where in the context of your View file). The reason it works from your controller is because $data is being extracted by the load->view() method into $retail, $consumer, $restaurant, $professional


Messages In This Thread
Dynamic Footers - by El Forum - 08-09-2008, 05:18 PM
Dynamic Footers - by El Forum - 08-09-2008, 06:00 PM
Dynamic Footers - by El Forum - 08-09-2008, 06:47 PM
Dynamic Footers - by El Forum - 08-09-2008, 09:24 PM
Dynamic Footers - by El Forum - 08-09-2008, 10:36 PM
Dynamic Footers - by El Forum - 08-09-2008, 10:37 PM
Dynamic Footers - by El Forum - 08-10-2008, 08:00 AM
Dynamic Footers - by El Forum - 08-10-2008, 01:58 PM
Dynamic Footers - by El Forum - 08-10-2008, 04:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB