mirror of
https://github.com/dg/dibi.git
synced 2025-08-29 16:59:49 +02:00
modified SVN properties
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
<h1>Nette::Debug && dibi example</h1>
|
||||
<?php
|
||||
|
||||
require_once 'Nette/Debug.php';
|
||||
require_once '../dibi/dibi.php';
|
||||
|
||||
Debug::enable();
|
||||
Debug::enableProfiler();
|
||||
|
||||
|
||||
dibi::connect(array(
|
||||
'driver' => 'sqlite',
|
||||
'database' => 'sample.sdb',
|
||||
));
|
||||
|
||||
|
||||
|
||||
// throws error
|
||||
dibi::query('SELECT FROM [customers] WHERE [customer_id] < %i', 38);
|
||||
<h1>Nette::Debug && dibi example</h1>
|
||||
<?php
|
||||
|
||||
require_once 'Nette/Debug.php';
|
||||
require_once '../dibi/dibi.php';
|
||||
|
||||
Debug::enable();
|
||||
Debug::enableProfiler();
|
||||
|
||||
|
||||
dibi::connect(array(
|
||||
'driver' => 'sqlite',
|
||||
'database' => 'sample.sdb',
|
||||
));
|
||||
|
||||
|
||||
|
||||
// throws error
|
||||
dibi::query('SELECT FROM [customers] WHERE [customer_id] < %i', 38);
|
||||
|
Reference in New Issue
Block a user