Skip to content

Commit c3fbfda

Browse files
committed
Fix examples
1 parent e288d31 commit c3fbfda

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

examples/helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
include "../index.php";
3+
include "../autoload.php";
44

55
/*
66
include "../dist/SuperSQL.php";
77
include "../dist/SuperSQL_helper.php";
88
*/
9-
$Helper = new $SQLHelper("localhost","mydb","root","1234");
9+
$Helper = new SuperSQL\SQLHelper("localhost","mydb","root","1234");
1010

1111
$Helper->SELECT();
1212

examples/login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
include "../index.php";
3+
include "../autoload.php";
44

55
/*
66
include "../dist/SuperSQL.php";
@@ -9,7 +9,7 @@
99

1010
if (isset($_GET["username"]) && isset($_GET["pass"])) {
1111

12-
$SuperSQL = SQLHelper::connect("localhost","mysite","root","1234");
12+
$SuperSQL = SuperSQL\SQLHelper::connect("localhost","mysite","root","1234");
1313

1414
$SuperSQL->dev(); // dev mode
1515

examples/simple.php

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)