Top "Codeigniter-2" questions

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

How to route 2 parameters to a controller?

This seems really basic but i can't get the hang of it. I'm trying to send more then one parameter …

codeigniter codeigniter-2 codeigniter-url codeigniter-routing
CodeIgniter: INSERT multiple records without cycle

It's possible to use multiple INSERT records in CodeIgniter Active Record without for, foreach and etc. ? My current code: foreach($…

codeigniter activerecord codeigniter-2
Codeigniter blank page and error 500 in apache log?

I spent over 5 hours yesterday trying to figure out whats wrong with my setup. In the ci213/application/controllers and …

php apache codeigniter-2
Codeigniter Setting Homepage ( Default Controller )

I'm trying to implement page templating in my codeigniter application, templating is working fine for instance, i have a blog …

php codeigniter codeigniter-2 codeigniter-routing
How to use composer packages in codeigniter?

I've followed this article: http://philsturgeon.co.uk/blog/2012/05/composer-with-codeigniter But I get Fatal error: Class 'Buzz\Browser' not found. …

php namespaces codeigniter-2 composer-php
click jquery button + send data without form - bookmark

I'm working on a bookmarking function where the user clicks on a jQueryui button and certain information is sent to …

jquery ajax codeigniter codeigniter-2
How do I run CodeIgniter migrations?

I know how to create them via http://codeigniter.com/user_guide/libraries/migration.html But once I've created my …

codeigniter migration codeigniter-2
How to detect HTTP method in CodeIgniter

How can I detect HTTP method in CodeIgniter controller class? Edited: Is there any other way than using $_SERVER['REQUEST_…

php codeigniter codeigniter-2 http-method
How to use 'DISTINCT' in Codeigniter Active Records?

I have a query using active records. $this->db->select('reg.users_id,reg.registration_id,reg.device_…

php activerecord codeigniter-2
Extending The Controller Class in CodeIgniter

I have class MY_Controller extends CI_Controller and common logic for big profile section, so I'va tried to create …

php codeigniter codeigniter-2