PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Kabir Hossain   PHP CodeIgniter Tips Tricks   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP CodeIgniter Tips Tricks
Collection of tips and examples to use CodeIgniter
Author: By
Last change:
Date: 1 month ago
Size: 1,298 bytes
 

Contents

Class file image Download

Codeigniter, PHP tips & tricks for developer

This is a list of tips trick & guide for these people want to learn codeigntier, php and web development 1. [Codeigniter Input for handle PUT & DELETE][1]

Codeigniter JOIN:

$this->db->select('*');
$this->db->from('TableA AS A');// I use aliasing make joins easier
$this->db->join('TableC AS C', 'A.ID = C.TableAId', 'INNER');
$this->db->join('TableB AS B', 'B.ID = C.TableBId', 'INNER');
$result = $this->db->get();

CI update data with update method without using other methods where, limit ...

$CI->db->update('allocation_tabs', $tab_data, array('id' => $tab_id), 1);

CI get data by get_where

    $tab_detail = $CI->db->get_where('table_name', array('id' => $_id), 1)->row();

CodeIgniter plugin for Sublime Text

https://sublime.wbond.net/packages/CodeIgniter%20Snippets http://stackoverflow.com/questions/16235706/sublime-3-set-key-map-for-function-goto-definition

Donate [1]:https://gist.github.com/phplaw/6305193