Welcome Guest, Not a member yet? Register   Sign In
PHP includes aren't working in CI
#8

[eluser]Derek Allard[/eluser]
variables would still need to be created and passed to the views in the normal way.
Code:
$vars['the_date'] = "25/05/08";
$this->load->view('includes/something', $vars);
This could (and probably should) also be passed from the controller.


Messages In This Thread
PHP includes aren't working in CI - by El Forum - 05-25-2008, 03:28 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 03:38 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 03:44 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 03:52 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 05:43 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 06:35 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 06:49 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 06:54 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 09:22 AM
PHP includes aren't working in CI - by El Forum - 05-25-2008, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB