Populate table with selected dropdown |
Hey guys i'm new and i need how to populate a table using a select dropdown.
I know how populate a table. PHP Code: <select class="form-control">
CI has a form helper. Load it with $this->load->helper('form').
Make an array of the "options" you want in the dropdown, like so: PHP Code: $dates = array( Code: <script> The script requires Jquery, so load that first.
|
Welcome Guest, Not a member yet? Register Sign In |