[Solved] Automatically replace the first & with a ? question mark.
I have this code below which generates a query string for my url. But I would like to know is there away that it could automatically replace the first & with a ? question mark. PHP Code: $url =...
View ArticleCreating a tracking table that is updated every day
Hello, I'm trying to create a tracking table which will be updated every 24 hours with cron. The information will be used to draw a line chart (similar to what you can find on google analytics). Here...
View ArticleCodeIgniter problem after upload to hosting
Hello! I have problem with CodeIgniter! When i launch server on XAMPP everything is working good: The problem take place when I put the code to my hosting on nazwa.pl. When I press button "Submit...
View Article301 Redirect With URL Suffix
Below is my htaccess file, When I used the 301 redirect, I get "?/Bass.html" appended to my url So If I goto "http://example.com/Bass.html" I get...
View Articlenumber of mysql connection is increasing rapidly at some sudden times in CI...
I am using PDO connection , following in my database connection in Codeigniter: $active_group = 'default'; $query_builder = TRUE; $db['default'] = array( 'dsn' =>...
View ArticleCodeigniter 3 blog application: overwriting default “static” variable with a...
I am working on a blog application in Codeigniter 3.1.8. I have a model with "static" data like the website's title, the contact email address, etc: Code: class Static_model extends CI_Model {...
View ArticleMongoDB with CI.
Hello, I'm new with a NoSQL implementation. I'm using MongoDB with CI and it works very well, but I have a question. I saw that in each collection, mongo creates an _id column that is an object that...
View Articlehow to install second website on subfolder
Dear All, i hope i can get a help from you, i am new to codeigniter, i have install main website on root, and i have another website which isntall in subfolder named "onyx". the problem i have using...
View ArticleRemove old result - Ajax
Hi CI Team, I very need your help to fix this, 1.How to remove old result when I click another category? 2.How to show all categories without click "All Categories" ? Please help me.... View: PHP...
View ArticleHandling Error Functions + Logs PHP Process
Hello ! Do you have a way : 1/ to create a log storing all the PHP Process with their number and infos ? (not in production, but at least during the development phase) 2/ to create handling errors...
View Articlelanguage switcher and SEO friendliness
I have two-language website and implemented language switcher - it changes language without changing URL of page. Here is my question, this solution seems to be not SEO-friendly, as one of languages is...
View ArticleExtracting the database abstract class from CodeIgniter
Hello, I have a question. Is it possible to extract the abstracted database class from CodeIgniter? Using full CodeIgniter for one of my projects would be overkill. However, I'd be able to reuse a good...
View Articlea very simple example with form and subform
Hello, people ! Very glad to be here with you (newbee). Could someone be very gentle and help me to understand how to write form and subform with codeigniter 3 ? I would like to join a codeigniter...
View ArticleSub queries using query builder class
If CI4 Query builder class will build subqueries then that will be a great feature. There was a subquery builder lib for CI3. If we can integrate it CI4 then that will be a very good feature....
View ArticleHow to get data objects in controller
I'm really new to this so excuse my query on something that is probably fundamental but... I have a controller that has the model in the constructor, I have created a method in the model which grabs a...
View ArticleCommunityAuth Password Characters
We're running into an issue with CommunityAuth and passwords and I'm not quite sure where to look to configure to either block or allow... If a user includes a '&' (ampersand) character in their...
View ArticleLbrary error CI_Driver_Library not found
Hey guys. Im new to CodeIgniter development. So for now im being doing maintainance for a web project using CodeIgniter version 2.1.0. When im try run it into my local computer i found somewhat this...
View ArticleHow does DataMapper’s DataMapper class work?
I'm very new to OOP (object-oriented programming), CodeIgniter and DataMapper so keep that in mind. Thanks.
View ArticleSession not set at least one minutes
Dear Team. I have develop a app with codeigniter. in my localhost session working fine. but when I host it to real server it's session not set at least minutes. Please refer below url and demo login...
View Article