1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-10 09:06:24 +02:00

update to 0.6

This commit is contained in:
David Grudl
2006-06-07 15:50:32 +00:00
parent 8361028ff3
commit 0951ea574c
13 changed files with 246 additions and 273 deletions

View File

@ -10,7 +10,7 @@ dibi::connect(array(
'driver' => 'mysqli',
'host' => 'localhost',
'username' => 'root',
'password' => '***',
'password' => 'xxx', // change to real password!
'database' => 'test',
'charset' => 'utf8',
));
@ -22,6 +22,7 @@ if (!dibi::isConnected())
$res = dibi::query('SELECT * FROM table');
// fetch a single value
$value = $res->fetchSingle();