• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need foreach

#5
[eluser]JamieBarton[/eluser]
[quote author="InsiteFX" date="1341817383"]Try this
Code:
<?php foreach ($publication as $itemlist): ?>
<?php echo $itemlist->title; ?>
<?php endforeach ?>
[/quote]

How about?

Code:
<?php foreach ($publication->result() as $itemlist): ?>
<?php echo $itemlist->title; ?>
<?php endforeach ?>


Messages In This Thread
need foreach - by El Forum - 07-09-2012, 12:00 AM
need foreach - by El Forum - 07-09-2012, 12:03 AM
need foreach - by El Forum - 07-09-2012, 12:26 AM
need foreach - by El Forum - 07-09-2012, 12:37 AM
need foreach - by El Forum - 07-09-2012, 05:49 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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