Welcome Guest, Not a member yet? Register   Sign In
[Solved] Loading view as $string not working
#9

[eluser]CroNiX[/eluser]
Because the data portion is the 2nd parameter of load::view(), and whether to return the view is the 3rd. So you have to have something there even if you're not sending actual data to that view partial in order to have a 3rd parameter.
From userguide:
Code:
$this->load->view('file_name', $data, true/false)


Messages In This Thread
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 08:43 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 08:56 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 09:00 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 09:01 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 09:05 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 09:06 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 09:07 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 09:10 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 09:14 AM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 03:57 PM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 06:08 PM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 08:15 PM
[Solved] Loading view as $string not working - by El Forum - 05-01-2014, 10:42 PM
[Solved] Loading view as $string not working - by El Forum - 05-02-2014, 03:00 AM
[Solved] Loading view as $string not working - by El Forum - 05-02-2014, 03:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB