Welcome Guest, Not a member yet? Register   Sign In
[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



Theme © iAndrew 2016 - Forum software by © MyBB