Simple CRUD – CodeIgniter | Henri Blog [PDF]

Apr 26, 2009 - A couple months ago i have developed PHP application. That's was the first time (and the only one) i used

10 downloads 17 Views 332KB Size

Recommend Stories


membuat crud sederhana di codeigniter 2.1.3
We must be willing to let go of the life we have planned, so as to have the life that is waiting for

Elegan Theme - Template Alternatif Untuk Blog Unair (Simple, Elegan [PDF]
Nov 15, 2015 - Lihat komentar. Persembahan untuk para blogger unair, template alternatif yang dapat dipakai untuk blog unair. Elegan Theme ini di desain dengan minimalis supaya simple dan elegan. Template ini dilengkapi dengan fitur fitur menarik yan

PdF Henri Vever
What we think, what we become. Buddha

[PDF] Download Blog, Inc
Silence is the language of God, all else is poor translation. Rumi

@BamarSpeedShop | Karismahideung's Blog [PDF]
Tail tidy adalah spakbor belakang pendek, dimana fungsinya untuk menempatkan plat nomer dan lampu sein. Penggunaannya bisa menambah kesan racy, simple dan clean pada motor beraliran sport seperti Yamaha R15. Produk ini dibuat khusus untuk Yamaha R15

Penulis Blog | www.edipsw.com [PDF]
Penulis Blog | www.edipsw.comwww.edipsw.com/penulis-blog/ - Translate this page

Blog Platform PDF
Goodbyes are only for those who love with their eyes. Because for those who love with heart and soul

[PDF] Blog, Inc
If your life's work can be accomplished in your lifetime, you're not thinking big enough. Wes Jacks

Blog - The Mesh [PDF]
Oct 18, 2014 - Jika anda membutuhkan jasa bersih rumah atau yang biasa disebut sebagai cleaning service di bandung anda bisa menghubungi kami. Kami akan ...... Meja kursi pada umumnya dibuat menggunakan bahan kayu jati, mahoni, meh dan trembesi. Memb

[PDF] Henri Cartier-Bresson
Why complain about yesterday, when you can make a better tomorrow by making the most of today? Anon

Idea Transcript


Henri Blog Study and Share knowledge

Simple CRUD – CodeIgniter with 242 comments A couple months ago i have developed PHP application. That’s was the first time (and the only one) i used CodeIgniter. The development itself only took a short period, thanks to helpful plugins and libraries such as excel_reader, jpgraph, dompdf and many more. At this moment, i want to share my humble knowledge in creating simple PHP application. As the title suggest, we are going to create simple CRUD (Create Read Update Delete) application using CodeIgniter framework. The application that we are going to build is not a complex application (that’s why we call it “simple”) but consists of features such as pagination and simple validation. Here, i’m using CodeIgniter_1.6.3 and MySql 5. Let’s begin. 1. $this->validation->id = $id; // set user message $>add new person success'; } // load view $this->load->view('personEdit', $>update person success'; } // load view $this->load->view('personEdit', $>', '

'); } // date_validation callback function valid_date($str) { if(!ereg("^(0[1-9]|1[0-9]|2[0-9]|3[01])-(0[1-9]|1[012])-([0-9]{4})$", $str)) { $this->validation->set_message('valid_date', 'date format is not valid. dd-mm-yyyy'); return false; } else { return true; } } } ?>

7. View. create 3 files at CodeIgniter\system\application\views folder. personList.php to list persons with pagination 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

 


personView.php to view a person details 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

Smile Life

When life gives you a hundred reasons to cry, show life that you have a thousand reasons to smile

Get in touch

© Copyright 2015 - 2024 PDFFOX.COM - All rights reserved.