Skip to content

Commit a5e7683

Browse files
committed
Oops - wrong class name! Fixed.
1 parent 6d4a6e6 commit a5e7683

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

class.PDO.php renamed to class.DBPDO.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class PDO {
3+
class DBPDO {
44

55
public $pdo;
66
private $error;

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ Firstly, define four constants for the host, database name, username and passwor
2828

2929
Then, simply include this class into your project like so:
3030

31-
`include_once('/path/to/class.PDO.php');`
31+
`include_once('/path/to/class.DBPDO.php');`
3232

3333
Then invoke the class:
3434

35-
`$DB = new PDO();`
35+
`$DB = new DBPDO();`
3636

3737

3838
Direct Queries

0 commit comments

Comments
 (0)