1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-29 08:49:50 +02:00

* modified DibiException (getDbError, ...)

* fix dibi::dumpResult()
This commit is contained in:
David Grudl
2007-02-02 03:51:43 +00:00
parent a2b1036a66
commit 0c86515076
16 changed files with 218 additions and 138 deletions

View File

@@ -3,12 +3,13 @@
require_once '../dibi/dibi.php';
// connects to mysqli
// CHANGE TO REAL PARAMETERS!
dibi::connect(array(
'driver' => 'mysql',
'host' => 'localhost',
'username' => 'root',
'password' => 'xxx', // change to real password!
'password' => 'xxx',
'database' => 'dibi',
'charset' => 'utf8',
));
@@ -29,4 +30,3 @@ dibi::addSubst('', 'my_');
dibi::test("UPDATE [database.::table] SET [text]='Hello World'");
?>