Welcome Guest, Not a member yet? Register   Sign In
set_value() is working but set_select() not working
#4

Your problem is your passing an object array to the view from find not an associated array
PHP Code:
// so to access just use:
<option value="<?= $doc->id; ?>" <?= set_select('doc_type_id'$doc->id?><?= $doc->name?>
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: set_value() is working but set_select() not working - by InsiteFX - 09-07-2023, 10:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB