Creating you own composer package
Hello CI Community! I am back with a new question. As we know, sometimes we code something repetitively. For example, I always have a registration module in my project. So I create a Model for the...
View ArticleLooking for Tips on how to introduce the tech/computer world to kids
Hey everybody, I'm in college and I have a younger sister who's 10. She doesn't have a phone yet (our parents are kinda strict) but keeps asking me to teach her about the Internet/tech stuff. She's...
View ArticlePagination Ellipsis Question
Hello! It's great to see the codeigniter community! I am a fresh web developer who started using CI just recently. I have a question about pagination, well, more specifically about the ellipsis part....
View ArticleGet object from id
Hello, I've two table with a relation one-to-many Code: (players->statistics) . I get all the stats with this method : Code: return $this->db->get('statistics')->result_array(); Which...
View Articlesending three arrays over json
I have 3, one dimensional arrays, $PR, $AC, and $BC that I want to json_encode and send as one unit back to my browser app: $this->output ->set_content_type('application/json')...
View ArticleAdd a function to the array helper
Hello CI team and community! How about add a function to the array helper? PHP Code: if ( ! function_exists('array_combine_different')){ /** * Array Combine Different * * Returns an...
View Articlereturning a message from a background script
I have managed to get a response back from the server back to the background script in my Chrome extension that it is communicating with. Now I need to get a message back to the popup so I can...
View ArticleColor and Size Filter
Hi I searched a lot for my issues, but did not find what I want, I also Posted a Question on stackOverflow but did not get the response and then I just got here and hope may be someone have the same...
View ArticleCodeigniter generate session file in each visit
Hey everyone. I noticed that CI generate session file in each user visit. The session file didn't contain something about user except last session creation about that user. PHP Code:...
View ArticleHow to use multiple join in codeigniter
I am trying to join three tables and get the required result from there for my use , I have been partially successfull in that but can not get the desired result. Please help. My issue is mentioned in...
View ArticleSeo friendly url
I'm beginner in codeigniter and i try obtain seo friendly url for may project. This url domain[.]com/blog/category/subcategory/ i want to go here controllers/Blog.php->index() i want redirect this...
View ArticleQuery Builder is not null
I'm in the process of upgrading my project from 3.0.0 to 3.1.8 (in one go). After going over all the required changes listed in the docs, I started testing my project, and realized something is...
View Articleparser loop problem
Hello friends, PHP Code: $data = array( 'title' => 'My Blog Title', 'blog_heading' => 'My Blog Heading', 'blog_entries' => array( array('title' =>...
View ArticleSend only selected data .. many-to-many relationship table.
So, I want to create a many-to-many relationship table in my database for which I decided to create a function which is supposed to let me send data with not problem. PHP Code: // Create...
View Articlecss, js, img in view don't work
I have this structure but can't acces (css, js, img) files Code: <?php echo base_url('application/views/admin/css/style.css'); //don't work ?> <?php echo...
View ArticleLooking for co-founders
Hello there, I am Daniel, a Software Developer (Python - Django, PHP - CodeIgniter, Laravel, JavaScript - MeteorJS) with interest in building consumer facing applications that provide better solutions...
View ArticleSQL Connection
Hai, i like using CodeIgniter, because is good practice for code, but now i stack with error SQL SERVER Connection using "sqlsrv" driver in CI, the error look like this "Unable to connect to your...
View Articlecodeigniter 4 is not getting anywhere?
ow, I've been playing around with a lot of frameworks recently. So far I've been looking at AngularJS, Symfony3, Yii and a micro-framework called Slim. Folks, I'm not just looking at these. I'm getting...
View ArticleExperiences with CI and AWS?
Hi all, Have any of you deployed a CI application onto Amazon's AWS cloud service? What are the challenges you faced? From what I can see, it is fairly straightforward - but I've never deployed one so...
View Article