Tag: codeigniter

51 votes
11 answers
2K views
CodeIgniter activerecord, retrieve last insert id?

Are there any options to get the last insert id of a new record in CodeIgniter? $last_id = $this->db->i

avatar
Vi
0 1 0 9
asked 07 September, 2021
67 votes
30 answers
1.2K views
CodeIgniter removing index.php from url

My current urls look like this [mysite]index.php/[rest of the slug]. I want to strip index.php from these urls

avatar
Jeff
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
70 votes
3 answers
1.1K views
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 Erro

avatar
Wei
0 1 0 9
asked 07 September, 2021
61 votes
7 answers
1.8K views
CodeIgniter: Create new helper?

I need to loop lot of arrays in different ways and display it in a page. The arrays are generated by a module

avatar
Omar
0 1 0 9
asked 07 September, 2021
63 votes
7 answers
2.4K views
Which version of CodeIgniter am I currently using?

Quick question. Is there something similar to a phpinfo() - that would display the version for CodeIgniter?

avatar
Forrest
0 1 0 9
asked 07 September, 2021
54 votes
30 answers
2.4K views
Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)

I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized

avatar
Dwain
0 1 0 9
asked 07 September, 2021