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
This commit is contained in:
www
2015-02-08 22:43:20 +01:00
parent 2fb8c09b8c
commit 2f1aa2d596
9 changed files with 44 additions and 19 deletions

View File

@ -0,0 +1,9 @@
<?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));
}
}