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:
9
SRC/app/controllers/testBd.php
Normal file
9
SRC/app/controllers/testBd.php
Normal 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));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user