Selection of countries by select from the database |
@ivantcholakov
1. Created the model /application/models/Countries_model.php Added your code. 2. In the file Home / application /controllers/Home.php added your code. In file /application/views/front/user/register/index.php How to insert your code? echo form_dropdown ('country_code', $ country_list, '' / * set_value ('country_code', $ country_code) * /, 'id = "country_code" class = "form-control required"'); If I have a choice form select. Help me please. |
Messages In This Thread |
Selection of countries by select from the database - by grechca - 03-21-2018, 04:21 AM
RE: Selection of countries by select from the database - by ivantcholakov - 03-21-2018, 08:54 AM
RE: Selection of countries by select from the database - by grechca - 07-28-2018, 03:26 AM
|