This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
www 2f1aa2d596 new file: .gitconfig
modified:   .gitignore
	modified:   SRC/app/config/app.php
	new file:   SRC/app/controllers/testBd.php
	modified:   SRC/app/routes.php
	new file:   SRC/app/views/testBd.php
2015-02-08 22:43:20 +01:00

9 lines
206 B
PHP

<?php
class testBd extends BaseController {
public function getS()
{
$r = DB::select('select s from test where id = 1');
return View::make('testBd', array('s' => $r[0]->s));
}
}