Posts

Showing posts with the label CodeIgniter

Basic CodeIgniter Usage Tutorial

Image
In this tutorial, the author will provide a tutorial on the basic use of the php framework is CodeIgniter.   The author uses CodeIgniter v 2.1.4 which can be downloaded directly from the official web CodeIgniter, ie http://ellislab.com/codeigniter.   What is needed for this tutorial is: 1. CodeIgniter 2.1.4 2. Text Editor (Sublime Text, CodeIgniter, Brackets, ell) 3. XAMPP / WAMP CodeIgniter PHP Framework What is done for the first time is download CodeIgniter v 2.1.4 which has been provided at the official website then extract the download and generate CodeIgniter folder.   The folder should be the reader move into the htdocs folder in the XAMPP / WAMP directory. Related Articles:  Codeigniter Early Settings After that the reader must run the web server contained in XAMPP / WAMP in order to run the PHP script.   If it is, the reader can directly open the browser page and then write "localhost / CodeIgniter" in the URL Browser (Without quotes ""), if

Tutorial How to Create Autocomplete with CodeIgniter

Image
In this tutorial we will discuss how to create autocomplete   with codeigniter  , in this discussion I assume all friends TWD already understand the initial setting of codeigniter.   If not please learn first two tutorials below Initial setting of CodeIgniter Basic tutorial on using CodeIgniter Autocomplete or word completion is a feature where the application predicts the rest of the words typed by the user. Autocomplete (Photo:  Etsy.com  ) The first step we create a database with the name of the  exercise  in phpmyadmin: Database: `latihan` Database exercises Next create tables and fields in the training database: -- -- Struktur dari tabel `autocomplete` -- CREATE TABLE IF NOT EXISTS `autocomplete` ( `nim` bigint(20) NOT NULL, `nama` varchar(30) NOT NULL, `jurusan` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; Table autocomplete Input /  Insert  new data to display data when autocomplete search: -- -- Dumping data untuk tabel `autocomplet