Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $no = $offset;
- foreach($data as $row ) {
- ?>
- <h3 class="judul"><a href="<?php echo base_url() ?><?php echo $lang; ?>/web/artikel/<?= $row->id_artikel ?>"><?php echo $row->judul ?></a></h3>
- <img src="<?php echo base_url()?>image/artikel/<?php echo $row->gambar?>" class="responsive artikel-image">
- <p class="text-justify artikel"><?php echo substr($row->ringkas,0,240) ; ?>
- <br>
- <!-------------how can i make slug being dinamis cause when change languange i debugging slug still old slug before change to another lang -------------->
- <a href="<?php echo base_url() ?><?php echo $lang; ?>/web/artikel/<?= $row->id_artikel ?>/<?= $row->slug ?>">Read More</a>
- <hr>
- <?php } ?>
- <br>
- <?php echo $halaman ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement