Welcome Guest, Not a member yet? Register   Sign In
Empty database output within CI
#6

[eluser]den-javamaniac[/eluser]
I presume that your assumption is incorrect. If I use $data['query'], I get a "Undefined variable: data" error. Besides, if using
Code:
$data['title'] = "Welcome to CodeIgniter";
$data['msg'] = array('this is me', 'and me');
I can still get my
Code:
<?php foreach ($msg as $string): ?>
        <p>
            &lt;?php echo $string ?&gt;
        </p>
&lt;?php endforeach; ?&gt;
working correctly. Any other ideas?


Messages In This Thread
Empty database output within CI - by El Forum - 05-08-2010, 07:15 AM
Empty database output within CI - by El Forum - 05-08-2010, 08:43 AM
Empty database output within CI - by El Forum - 05-08-2010, 02:09 PM
Empty database output within CI - by El Forum - 05-08-2010, 02:41 PM
Empty database output within CI - by El Forum - 05-08-2010, 02:53 PM
Empty database output within CI - by El Forum - 05-08-2010, 03:33 PM
Empty database output within CI - by El Forum - 05-08-2010, 04:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB