Welcome Guest, Not a member yet? Register   Sign In
How to set old() to the dropdown menu ?
#5

(09-05-2023, 12:23 AM)sammyskills Wrote: You need to add the value to check for after the field name, like so:

PHP Code:
<option name="<?= $nation['id'] ?>" <?= set_select('nationaility_id'$nation['id']) ?>><?= $nation['name'?></option> 

Yes it works Smile

Thank you, I'm learning CI
Reply


Messages In This Thread
RE: How to set old() to the dropdown menu ? - by sknair143 - 09-05-2023, 12:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB