php oil g scaffold artist name:varchar[150] country_id:tinyint[3]
Fatal error: Call to undefined function Fuel\Core\mysql_connect() in <snip>/mixdb/fuel/core/classes/database/mysql.php on line 67
<?php class Controller_Artist extends Controller { public function action_index() { $data['list'] = $this->get_list(); $this->render('welcome/index', $data); } public function get_list() { $users = DB::select('*') ->from('artist')->as_object()->execute(); var_dump($users); } }
class Model_Example extends ActiveRecord\Model { protected $table_name = 'example_table'; }
It looks like you're new here. If you want to get involved, click one of these buttons!