blank page when i try to get $this->load->view into a var with third param on true [SOLVED] |
[eluser]John_Betong[/eluser]
[quote author="meigallodixital" date="1226417492"]returns the same blank page, if i do: Code: $data['news'] = $this->db->get('news')->result(); works perfectly. The problem seems $data+true param[/quote] If you are trying to use the TRUE parameter to save the contents of a partial view then you must assign the partial view to a variable: Code: $data['news'] = $this->db->get('news')->result(); Have you read and understood Views |
Messages In This Thread |
blank page when i try to get $this->load->view into a var with third param on true [SOLVED] - by El Forum - 11-10-2008, 07:40 PM
blank page when i try to get $this->load->view into a var with third param on true [SOLVED] - by El Forum - 11-10-2008, 08:01 PM
blank page when i try to get $this->load->view into a var with third param on true [SOLVED] - by El Forum - 11-11-2008, 03:31 AM
blank page when i try to get $this->load->view into a var with third param on true [SOLVED] - by El Forum - 11-11-2008, 06:01 AM
blank page when i try to get $this->load->view into a var with third param on true [SOLVED] - by El Forum - 11-11-2008, 06:12 AM
|