Welcome Guest, Not a member yet? Register   Sign In
dropdown with CI
#4

[eluser]hvalente13[/eluser]
It's all about this line here:

Code:
<?php echo form_dropdown(array('name'=>$scalecontent['name'],'id'=>$scalecontent['id']),$dd_data,$name); ?>

You have to specify $scalecontent['name'], because you have instantiated the array in your controller. That shouldn't give you Array, but the value for the 'name' key of your array scalecontent.

Check it out... I'll try to run it if there's any bug, but at first glance I don't think so


Messages In This Thread
dropdown with CI - by El Forum - 10-13-2008, 07:23 AM
dropdown with CI - by El Forum - 10-13-2008, 08:48 AM
dropdown with CI - by El Forum - 10-14-2008, 04:13 AM
dropdown with CI - by El Forum - 10-14-2008, 05:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB