[SOLVED] controller not passing Data to my veiw

#3
[eluser]mi6crazyheart[/eluser]
Hey!!! i feel u r doing some thing wrong in u'r view file in that foreach loop. It should be like this...

ex:
Code:
foreach($query as $item):
$headlineId = $item->headline_id ; // "headline_id" is one of the field which has accessed from DB table
echo $headlineId;

Hope u've got the idea...


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.