We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0b00a commit 5349713Copy full SHA for 5349713
README.md
@@ -33,11 +33,13 @@ Clone / download or install with Composer
33
2. Require `database/db-connect.php` and you can connect to both your localhost and production server using `$db = new DB();` without any argument.
34
35
```php
36
+ use database\DB;
37
+
38
// register the database connection settings
- require_once 'phpformbuilder/database/db-connect.php';
39
+ require_once 'database/db-connect.php';
40
41
// Include the database class
- require_once 'phpformbuilder/database/DB.php';
42
+ require_once 'database/DB.php';
43
44
// Then connect to the database
45
$db = new DB();
0 commit comments