Posted By

pruntrut on 02/05/12


Tagged

codeigniter


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

notturnale
Kurt


foreach fromquery


 / Published in: PHP
 

  1.  
  2. <?php if(isset($records)) : foreach($records as $row) : ?>
  3.  
  4. <div class="span-4 article">
  5. <a href="" >
  6. <span class="blackBg"></span>
  7. <img src="<?php echo base_url();?>img/portfolio/<?php echo $row->NomImage; ?>"/>
  8. </a>
  9. <h3><a href=""><?php echo $row->title; ?></a></h2>
  10. </div>
  11.  
  12. <?php endforeach; ?>

Report this snippet  

You need to login to post a comment.