Welcome Guest, Not a member yet? Register   Sign In
self-referencing relationship is not working using datamapper
#14

[eluser]johnmerlino[/eluser]
Thanks for response, your alternative worked, although while the html element is a multiselect, it's not guaranteed that the user will select more than one item, but nevertheless zones itself will always be an array:

echo form_multiselect('zones[]',$divisions,'none');

It's just not guaranteed any elements will be passed into it.


Messages In This Thread
self-referencing relationship is not working using datamapper - by El Forum - 04-12-2011, 09:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB