Skip to content

Commit 5349713

Browse files
committed
update README
1 parent 4f0b00a commit 5349713

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ Clone / download or install with Composer
3333
2. Require `database/db-connect.php` and you can connect to both your localhost and production server using `$db = new DB();` without any argument.
3434

3535
```php
36+
use database\DB;
37+
3638
// register the database connection settings
37-
require_once 'phpformbuilder/database/db-connect.php';
39+
require_once 'database/db-connect.php';
3840

3941
// Include the database class
40-
require_once 'phpformbuilder/database/DB.php';
42+
require_once 'database/DB.php';
4143

4244
// Then connect to the database
4345
$db = new DB();

0 commit comments

Comments
 (0)