I'm a FuelPHP newbie and I have a query problem. So, this is my code: $query = DB::query('SELECT * FROM `table`'); $result = $query->execute(); $totals = $result->_total_rows; print_r($totals); And i keep getting following error: Fatal error: Cannot access protected property Fuel\Core\Database_MySQL_Result::$_total_rows
The FuelPHP documentation does not include information on how to use the DB class to specify connections, which would allow me to then control multiple database connections. Any idea on how to accomplish this? Google search shows evidence of a Database_Connection class, but no information on how it might be used.
There are lots of differences, some technical, some sociopolitical. I've tried to put more important differences first. SML is a language with a definition and a standard. It is stable (and in fact has been frozen so it cannot evolve). Objective Caml is an implementation controlled by a small group at INRIA. It continues to evolve. (IMO the evolution is managed well.) SML has many implementations;
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く