Category: Codeigniter

How to get maximum value in MySQL table column using Codeigniter CodeIgniter-Technology

How to get maximum value in MySQL table column using Codeigniter

To find max value form query select_max method in codeigniter CodeIgniter is a framework based on MVC principles. As a result, you would usually separate application logic, data abstraction and “output” into their respective areas for CodeIgniter use. In this case: controllers, models and views. Codeigniter provides select_max method to get maximum value in mysql table column. Writes […]

How to create an array and insert record in MySQL database using Codeigniter

I’ll share to you very basic tutorial with codeignter,here is inserting data toyou database.Oke make it simple,first of all you must create a table in your database obviously after create form and save create array and save data in database table. You may also like How to Add, Edit and Delete Records Using jQuery, Ajax, PHP […]

Grouping Query in Codeigniter

Query grouping allows you to create groups of WHERE clauses by enclosing them in parentheses. This will allow you to create queries with complex WHERE clauses. Nested groups are supported. $this->db->group_start() Starts a new group by adding an opening parenthesis to the WHERE clause of the query. $this->db->or_group_start() Starts a new group by adding an […]