'default' => array( 'type' => 'pdo', 'connection' => array( 'dsn' => 'odbc:GLOBAL', 'username' => '', 'password' => '', 'persistent' => true, ), 'identifier' => '', 'table_prefix' => '', 'charset' => '', 'enable_cache' => true, 'profiling' => true, )
$part = (int) Input::get('part'); $query = DB::select('columns')->from('table')->where('part', $part); $data = $query->execute(); if(DB::count_last_query() === 0) { $this->response(array('server_message' => 'No parts were found matching that request.')); } else{ $this->response($data->as_array()); }
I've seen code where this error has been commented out, and a lot of people complaining about it.
It looks like you're new here. If you want to get involved, click one of these buttons!