what you need is $result = DB::select()->from('table')->where('')->execute()->as_array();Marlon Asis wrote on Thursday 20th of October 2011:echo Form::select('country', 'none', array(
'none' => 'None',
'europe' => array(
'uk' => 'United Kingdom',
'nl' => 'Netherlands'
),
'us' => 'United States'
)); i know how to do this but what i don't know is how to retrieve data from database through this method.. can anyone help me pls...
array ( 1 => US 2 => UK );etc
echo Form::select('country', 'none', array( 'none' => 'None', 'europe' => array( 'uk' => 'United Kingdom', 'nl' => 'Netherlands' ), 'us' => 'United States' ));
It looks like you're new here. If you want to get involved, click one of these buttons!