I am trying to make AJAX form validation work in CodeIgniter. If you have the same title don’t add The data from the form always reports as successful, even if the result is negative. Is there a …
Tag: codeigniter
how to separate config.php, database.php, constant.php file domain specific in codeigniter v3.1.10?
I’m using codeigniter v3.1.10 and i have two projects with domain name abc.example.com and xyz.example.com. i know that in codeigniter according to the environment production or development we could …
Fetch value from multiple drop down with same name row wise
I have a table like below- the code of this table in my view is as following-
Course Name
Class
Callback function ignoring other validation rules and executes first
On the HTML form, I have a field such as:
how to display all images in a folder
I’m develop my websites and want to display all the images in a folder. I used the following code but occurred an error. <?php $sesi = Session::get('id'); $gambar = glob('archive_gambar/…
CodeIgniter 4… documentRoot is not in public… htaccess is not working
I am starting to dabble in CodeIgniter 4. Completed a simple app. On local, I have the documentroot setup to be /public/ where as on the product hosting environment, I am unable to set the …
How to fill blank array with in loop using PHP
I want have two tables in mysql “taxiInfo” and “booking”,Now i just want to show/fetch status of every taxi (whether every taxi is “booked” or “aviliable” ), Here is my table “taxiInfo” id …
Codeigniter – Implode-generated Query returns “Unknown column”
I’m currently trying to write a query in codeigniter, I’m having a problem including and implode inside the query. This is my code. $permitedCodeList = [“ELEC-22”, “ELEC-100”, “ELEC-200”, “999873”]; …
Looping in dataLoader amchart v3
I have an array of data, for example, I have 3 Cardview in my view in HTML, each of the Cardview has their own data, especially in displaying the chart. I can already get the data in the loop and …
CodeIgniter error “Unable to connect to your database server using the provided settings.”
I’ve just started work on an old CI project with a lot of old code. The application works fine on the server, but when I pull it to my local environment (it’s also in a github repository), I get the “…