DB::query('SELECT * FROM users WHERE id = 5');This select statement DOES return a result, but the example line of code does NOT show how the return value is to be accepted. It should say something like:
$result = DB::query('SELECT * FROM users WHERE id = 5');It will take some time to discover all of the places in the documentation where this is a problem. I suggest and recommend that all example code should be presented as a training device for those not familiar with FuelPHP, which means using proper php syntax as if it were being used in a working application. I'll be happy to work with whoever is addressing the docs now, but don't know who they are...
It looks like you're new here. If you want to get involved, click one of these buttons!