uploading image not working in codeigniter 3

i’m new learning codeigniter 3, i have problem that i can’t upload image in edit method. i’m really stuck, i already figure it out from the internet and documentation but there is no answer and my …

best way database management in php

i started learn database mysql im confusing how to manage all tables in one page i’ve tried datatables but still not like what i want i dont know the keyword for searching in google all tables always …

Fetch and order selected data from multiple tables in Codeigniter

I’m struggling around the following problem: into my database there are two table, with the following same structure Both tables have data about images, one for civil aircraft registrations, the other …

CodeIgniter 3 not returning false in case of a DB query error

I have read as many related answers on SO related to this error I’m getting. However, NO question (or answer) is about CodeIgniter’s DB active query class returning FALSE when it SHOULD (since an …

Avoid session timeout reset when sending ajax request

Is it possible to tell codeigniter to skip session timeout reset if post request is coming via ajax to a particular controller function. I have a frequent ajax call inside user login dashboard to …

Codeigniter : on selection of a value from drop down change value of checkbox

I have 3 tables say:- invoice_details, customer_details and bill_address. The invoice form has a dropdown and a checkbox. Customer names are listed in the dropdown from the customer table. And when I …

temporary name of file uploaded not getting in blueimp jQuery file upload

i am using blueimp jQuery file upload for file uploader.This is my controller code. public function savedocument() { $response = array(‘status’ => ‘failed’, ‘message’ => ‘Unknown reason’)…

codeigniter oc_ prefex database problem in server

i have created a website in codeignter, the website is working fine my local, i uploaded it to my server, then its showing the following error: Table ‘kirana_btp_new.oc_ci_sessions’ doesn’t exist …

update batch in codeigniter

I have data on db_temporary here I will update based on id_service, but why doesn’t the update work? public function updateUpload() { $db = $this->M_order->db_temporary_service(); //…

how to create a contruct() in codeigniter4 controller?

class Home extends BaseController { var $cache; public function __contruct() { parent::__construct(); $this->cache = ConfigServices::cache(); } public …