2f1aa2d596
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
9 lines
206 B
PHP
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));
|
|
}
|
|
|
|
} |