$result = DB::select()->from('users')->execute();You can find quite a few examples here: http://docs.fuelphp.com/classes/database/usage.html
foreach($result as $user)
{
echo $user->name;
}
$sql = "Select * FROM users";
$result = DB::query($sql)->execute();
foreach($result as $user)
{
echo $user->name;
}
It looks like you're new here. If you want to get involved, click one of these buttons!