how to return multi array in select array codeigniter 3.2
i have function below $arr_in=$this->getarrayid($id); //$id print_r($arr_in) PHP Code: Array( [0] => 11 [1] => 36 [2] => 41 ) PHP Code: public function demo($id) {...
View ArticleLooking for top codeigniter developer in SF Bay Area
Hello, I own a company in the San Francisco area that has a nicely built content management system. I have had our original developer work on it for the last few years but his communication is unlike...
View ArticleUnit testing with codeigniter 2.2
Hello all, I am taking over an existing application in codeigniter 2.2 and I have to perform unit testing. What are the possible frameworks available to integrate codeigniter 2.2 with phpunit? Also, is...
View ArticleName of project in prod url
Hi My project is http://localhost/project and I would like to have the name of the project in production url How can I make this work ? .htaccess Code: RewriteEngine On RewriteBase /project/...
View ArticleHow to fix function to return multi array ci 3
i test with function below PHP Code: public function getexam_result($bode) { foreach($bode as $v) { $this->db->where('question_id',$v);...
View ArticleHow to autoload helper functions in codeigniter 4
I just downloaded CodeIgniter 4 from their official GitHub. They changed a lot from CodeIgniter 3. I want to use base_url() function in the view and for that, you need to load URL helper and in...
View ArticleError on activating CSRF protection
I'm getting the following error message when I set $config['csrf_protection'] = TRUE: Code: Fatal error: Class 'CI_Controller' not found in /opt/codeigniter/system/core/CodeIgniter.php on line 369 A...
View ArticleModular separation and CI 3.1.3
Candlecms and codeIgniter 3.1.3 (Gbobard, 2017-01-22 19:39:52) Good evening, Since version 7 of PHP, BYOOS has entered a series of testing its software production or software package with several...
View ArticleMessage: Cannot modify header information - headers already sent by (output...
This error show up when add line input in view and controller like this http://prntscr.com/dz1ah8 http://prntscr.com/dz1a8a and the result is http://prntscr.com/dz1axv please help me, i don't know how...
View ArticleStatic pages [Solved]
I want to display the content from my database in pages as home, about, terms,privacy,etc. If somebody knows how to create new pages, please reply me This is my database here is my controller: PHP...
View ArticleWhy this error appears stdClass::$pic_item?
site/views/index.php <?php foreach($pic as $pic_item): ?> <img src="<?php echo base_url('assets1/images/slider/'.$pic_item->pic_item );?>">...
View ArticleHow many pets do you own?
I have 2 dogs and both Shi Tzu breed and a tabby cat. So what pet(s) do you have
View ArticleMultiple Applcation Question
I have to applications using the https://www.codeigniter.com/user_guide/g..._apps.html way How ever when I type in example.com/admin on the index.php how can I make sure the application folder switches...
View Article[split] integrate MS-SQL with CI 3.1
How can i integrate MS-SQL with CI 3.1 I am not able to build the queries with active records. I want to migrate from mysql to mssql. I am using sqlsrv driver but CI is not building the query Server:...
View ArticleUserBundle for CI 3.x
Hi all, there is a new UserBundle for CodeIgniter 3.x available. It contains : - Login - Signup - User - Users - Passwordforgot - Route Authentification - Database Entity Configuration If you like...
View Articlein MySQL- Trigger how to use codeigniter Path
Dear All, I am using - PHP-Codeigniter 2.1.3, MySQL , XAMPP In MySQL table i added a trigger, In that trigger i want to assign my CONTROLLER Path, if any data insterted into the Table immediately...
View Article[ASK-help] Multiple Insert data get 504 gateway timeout
i have this code for multiple insert data and check data before insert, example i have 400 row data, and when i try to run this script PHP Code: //get data tenant from tipe utilitas $tenant...
View ArticleWorkflow Engine for CodeIgniter
Which workflow engine can we use with CodeIgniter and How to integrate the workflow with web app?
View Articlechange GET query string
Hi, I search page which gets filter using GET method. in some cases I can get ?brand=&model=2 this kind of query where brand is empty. When I get this kind of get string I want remove 'brand'...
View Articlei want to change home page url
hi in ci 3x, i'm changed the home url like http://domain.com to http://domain.com/#/en/index $route['default_controller'] = 'home'; please help about this
View Article