This is the ultimate tutorial about Select Options dependent using Codeigniter and JQuery Ajax. How can I get the Select Option to display the chosen theme when the user visits the settings page to select another theme? eg. This tutorial is about how to create select options dependent using Codeigniter and AJAX. Why is sending so few tanks Ukraine considered significant? Select Data from Database in CodeIgniter 4 Model and Entity, CodeIgniter 4 redirect to another controller, Create Custom Validation Rule in CodeIgniter 4, Limit Data from Database in CodeIgniter 4 Model and Entity, Read Data from Database with CodeIgniter 4 Model and Entity, Read Data from Database with Conditions in CodeIgniter 4 Model and Entity, Read Data from Database with Primary Key in CodeIgniter 4 Model and Entity, Redirect to another controller in Codeigniter 4, Single File Upload in codeigniter 4 Framework, Sort Data from Database in CodeIgniter 4 Model and Entity, Uploading multiple files in codeigniter 4, Create Data from Database in Query Builder Class in CodeIgniter 4, Avg Data from Database in Query Builder Class in CodeIgniter 4, Max Data from Database in Query Builder Class in CodeIgniter 4, Shopping Cart with Session and Eloquent ORM in Laravel, Multi Select AutoComplete Search from Database with Eloquent ORM in Laravel Framework, AutoComplete Search from Database with Eloquent ORM in Laravel Framework, OrderBy with GroupBy and Having with Eloquent ORM in Laravel Framework, Declare Variables with Initializers in Golang. How do I make a placeholder for a 'select' box? 0. Open the "Product.php" controller in the "application / controllers" folder. the form element is a multiple select that works fine when only one option . Please if u wan to code i send it ur mail please give me help buddy. How could magic slowly be destroying the world? The problem I am having is when I save my settings, the Select Option does not display the saved theme name to show that this is the active theme chosen. Check to see if that ID worked. If all products are in stock, create the order, then loop through the selected products again . after reviewing it .. Wall shelves, hooks, other wall-mounted things, without drilling? I'm a Software Engineer. 528), Microsoft Azure joins Collectives on Stack Overflow. Open index.php in root folder find to line 16 replace path to Paths.php file as below: Open App.php in app/Config . I am storing theme names in the database like so: I am then calling all themes in the Model and returning the array with this code: I chose to use tag instead of form_dropdown() from Form Helper because i can't set a class atribute to