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

(This post was last modified: 09-05-2023, 12:23 AM by sammyskills.)

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> 
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB