CodeIgniter

CodeIgniter is an open-source PHP web development framework created by EllisLab Inc and it has been adopted by British Columbia Institute of Technology. The framework implements a modified version of the Model-View-Controller design pattern. Use this tag for questions about CodeIgniter classes, methods, functions, syntax and use PHP web development framework created by EllisLab Inc and it has been adopted by British Columbia Institute of Technology.

69 votes
3 answers
3.1K views
58 votes
7 answers
2.3K views
Codeigniter - multiple database connections

I have to retrieve a MySQL database information from master database and then connect to that database, and fe

avatar
Louetta
0 1 0 9
asked 07 September, 2021
60 votes
6 answers
985 views
Upstream too big - nginx + codeigniter

I am getting this error from Nginx, but can't seem to figure it out! I am using codeigniter and am using

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
53 votes
3 answers
1.2K views
Increment field of mysql database using codeigniter's active record syntax

I have the following php-codeigniter script which attempts to increment a field of a record using active-recor

avatar
Shanita
0 1 0 9
asked 07 September, 2021
62 votes
12 answers
3.1K views
Does CodeIgniter automatically prevent SQL injection?

I just inherited a project because the last developer left. The project is built off of Code Igniter. I&apo

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
57 votes
11 answers
1.1K views
CodeIgniter Active Record - Get number of returned rows

I'm very new to CodeIgniter and Active Record in particular, I know how to do this well in normal SQL but

avatar
Majorie
0 1 0 9
asked 07 September, 2021
51 votes
9 answers
2.2K views
subquery in codeigniter active record

SELECT * FROM certs WHERE id NOT IN (SELECT id_cer FROM revokace); How do I write the above select statement

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
57 votes
11 answers
774 views
the best way to make codeigniter website multi-language. calling from lang arrays depends on lang session?

I'm researching hours and hours, but I could not find any clear, efficient way to make it :/ I have a co

avatar
Solomon
0 1 0 9
asked 07 September, 2021
62 votes
11 answers
950 views
CodeIgniter - return only one row?

At the moment if I am doing a query on the database that should only return one row, using: ...query stuff...

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
55 votes
14 answers
2.8K views
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? Howev

avatar
Joseph
0 1 0 9
asked 07 September, 2021
60 votes
10 answers
2.6K views
how to get last insert id after insert query in codeigniter active record

I have an insert query (active record style) used to insert the form fields into a MySQL table. I want to get

avatar
Percy
0 1 0 9
asked 07 September, 2021