• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Result Set directly pass to dropdown

#2
[eluser]guzzilar[/eluser]
Code:
foreach($query->result() as $item):
     $data[$item->name] = $item->value;
endforeach;

form_dropdown('name' ,$data);

Try this. Big Grin


Messages In This Thread
Result Set directly pass to dropdown - by El Forum - 07-12-2012, 05:13 AM
Result Set directly pass to dropdown - by El Forum - 07-12-2012, 05:26 AM
Result Set directly pass to dropdown - by El Forum - 07-12-2012, 10:08 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.