Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

codeigniter echo last query

public function test_db(){    $query = $this->db->get("items");      $str = $this->db->last_query();       echo "<pre>";    print_r($str);    exit;}
Source by www.itsolutionstuff.com #
 
PREVIOUS NEXT
Tagged: #codeigniter #echo #query
ADD COMMENT
Topic
Name
6+5 =