This is default featured post 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured post 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Senin, 20 Desember 2010

PHP CLI : PHPRC


When i look at to phpinfo() in cli mode. it's seems php automatically read such php.ini from defined location. and when i look to environment variables there is such variable called PHPRC, which values is directory/folder of where php.ini reside.


Jumat, 17 Desember 2010

javascript Cache in firefox


Sometimes firefox wan't let cache even script is updated. to release it we can clear all cache. So, if you feel you have update the script but nothing happens in firefox. It's time to see your firebug->net->script and watch your header



Kamis, 02 Desember 2010

Contoh Konfigurasi Pagination CodeIgniter

//contoh url index.php/folder/control/function/offset
//maka urutan offset adalah yang ke-4

$offset = $this->uri->segment(4);

$config['base_url'] = site_url() . '/admin/materi/index/';

$config['total_rows'] = $this->mmateri->get_count();

$config['per_page'] = 5;

$config['uri_segment'] = 4; //penting


 

$this->pagination->initialize($config);
$paginator=$this->pagination->create_links();

        

$data["offset"] = $offset;
$data['result'] = $this->mmateri->get_paged($config['per_page'],$offset);
$data['total_page'] = $paginator;

$this->load->view('admin/materi', $data);

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More