Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. <?php
  2. class surat_masuk_model extends CI_Model{
  3.  
  4.     public function __construct(){
  5.  
  6.         $this -> load -> database();
  7.     }
  8.  
  9.     public function get_surat_masuk(){
  10.         <?php
  11.         foreach ($data_surat_masuk as $surat_masuk):
  12.         echo $surat_masuk['no_agenda'];
  13.         echo $surat_masuk['no_surat'];
  14.         echo $surat_masuk['tanggal_surat'];
  15.         echo $surat_masuk['tanggal_terima'];
  16.         echo $surat_masuk['perihal'];
  17.         echo $surat_masuk['pengirim'];
  18.         echo $surat_masuk['sifat_surat'];
  19.         endforeach
  20.  
  21.             }
  22. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement