Here is the server versions I know you might need: CodeIgniter Version: 3.1.9 PHP Version: 7.3.6 I am new to php and web design in general. This is particularly true when it comes to CodeIgniter’…
Tag: codeigniter
How to display select option values base on the first option
I am using Codeigniter 3.1.1. I want City option to display base on the value selected with State option. Actually the City select option does not populate automatically when State option is selected. I tried to link the latest jQuery but still, it doesn’t work. Your help is highly appreciated. MyController.php View: Ajax: Answer You’ve not specified what problem you
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 …
Check if Coupon exists and if it is the first order
In my e-commerce I have implemented coupons, and it is working, but now I introduce “Coupons first order”, but don’t know if I’m doing the best way to check it, because it is not working, my query is …
Variable inner foreach – Codeigniter
I need return listarCliente model to my view, to select a value from another table inside my Foreach, but havent sucess and var_dump return null Model function listarCliente($id){ $this->db-&…
Codeigniter: Join between three tables
I’m trying to do a Join between three tables, in which in one table could not be informations to do the join. This my tables: Meetings id docent_id motivation Persons id name surname Companions id meeting_id name surname Now I want to recover the information where Meetings.docent_id = Persons.id (and this is ok), I want also recover information where Meetings.id
Form validation not working with form GET method
I’m trying to post my form by method=”GET” instead of POST. Codeigniter’s form_validation->run() doesn’t work. It’s not returning any form_error in view page.
Hyperlinks is not working right for search result titles
I am trying to show search results from two tables. I have used union to put them together. Right now they work, when I search for something and matches, it shows up from both of the tables but I am …