Top "Codeigniter-2" questions

CodeIgniter 2.x is an old and no longer supported version of the popular PHP framework.

Only variable references should be returned by reference - Codeigniter

After the server PHP upgrade I am getting the following error with PHP Version 5.6.2 on Apache 2.0 A PHP Error was …

php apache codeigniter apache2 codeigniter-2
Codeigniter: does $this->db->last_query(); execute a query?

Does query execution happen at the get_where() clause of the following codeigniter active record statement? $this->db->…

codeigniter activerecord codeigniter-2
CodeIgniter: How to get Controller, Action, URL information

I have these URLs: http://backend.domain.com/system/setting/edit/12 http://backend.domain.com/product/edit/1 How to get …

php codeigniter codeigniter-2
CodeIgniter PHP Model Access "Unable to locate the model you have specified"

I have been trying to load some models for this website I am building. However, for an unknown reason, it …

php model codeigniter-2
Where do I put image files, css, js, etc. in Codeigniter?

Where is it acceptable to put css folders and image file folders? I was thinking inside the view folder? However …

codeigniter web-applications frameworks codeigniter-2
Using Mysql WHERE IN clause in codeigniter

I have the following mysql query. Could you please tell me how to write the same query in Codeigniter's way ? …

codeigniter codeigniter-2
combining mysql AND OR queries in Codeigniter

I want to combine AND OR mysql queries in CI. I have already seen this thread: http://codeigniter.com/forums/…

php mysql codeigniter codeigniter-2
How to get current date in codeigniter

How to get current date in codeigniter in YY-mm-dd format. I wants to get current date in YY-mm-dd frmat and …

php javascript codeigniter codeigniter-2
CodeIgniter: "The filetype you are attempting to upload is not allowed."

I'm experiencing a very odd upload problem. Here's the relevant view file: <form action="http://localhost/index.php/temp/…

php codeigniter mime-types codeigniter-2
how to count the number of rows returned by query in Codeigniter with Datamapper

I am using the following query in controller of codeigniter. $u -> where('us_email_id', $username); $u -&…

php codeigniter datamapper codeigniter-2 codeigniter-datamapper