Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions BasicDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
* @mail tayfunerbilen@gmail.com
* @date 13 Nisan 2014
*/
namespace erbilen;
use PDO;

class BasicDB extends PDO
{

Expand Down
1 change: 1 addition & 0 deletions delete_example.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// class file
require 'BasicDB.php';
use erbilen;

// connection
$db = new BasicDB('localhost', 'testdb', 'testuser', 'password');
Expand Down
1 change: 1 addition & 0 deletions insert_example.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// class file
require 'BasicDB.php';
use erbilen;

// connection
$db = new BasicDB('localhost', 'testdb', 'testuser', 'password');
Expand Down
1 change: 1 addition & 0 deletions pagination_example.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// class file
require 'BasicDB.php';
use erbilen;

// connection
$db = new BasicDB('localhost', 'testdb', 'testuser', 'password');
Expand Down
1 change: 1 addition & 0 deletions select_example.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// class file
require 'BasicDB.php';
use erbilen;

// connection
$db = new BasicDB('localhost', 'testdb', 'testuser', 'password');
Expand Down
1 change: 1 addition & 0 deletions update_example.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// class file
require 'BasicDB.php';
use erbilen;

// connection
$db = new BasicDB('localhost', 'testdb', 'testuser', 'password');
Expand Down