[SOLVED] controller not passing Data to my veiw

#2
[eluser]Italo Domingues[/eluser]
Read the documentation for CI and search the forum, that kind of questions surely must have some topic

Change your code

Code:
<?php foreach($query as $row):?>

<li>&lt;?php echo $banned_user_slname;?&gt;</li>
<hr />

&lt;?php endforeach;?&gt;

For

Code:
&lt;?php foreach($query as $row):?&gt;

<li>&lt;?php echo $row['name']; ?&gt;</li>
<hr />

&lt;?php endforeach;?&gt;


Messages In This Thread
[SOLVED] controller not passing Data to my veiw - by El Forum - 08-13-2010, 11:25 AM
[SOLVED] controller not passing Data to my veiw - by El Forum - 08-13-2010, 12:12 PM
[SOLVED] controller not passing Data to my veiw - by El Forum - 08-13-2010, 12:13 PM
[SOLVED] controller not passing Data to my veiw - by El Forum - 08-13-2010, 12:46 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.