Skip to content

Commit 7335734

Browse files
committed
Update
1 parent a321f93 commit 7335734

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

examples/helper.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,31 @@
1+
<?php
12

3+
include "../index.php";
4+
5+
/*
6+
include "../dist/SuperSQL.php";
7+
include "../dist/SuperSQL_helper.php";
8+
*/
9+
$Helper = new $SQLHelper("localhost","mydb","root","1234");
10+
11+
$Helper->SELECT();
12+
13+
$Helper->INSERT();
14+
15+
$Helper->UPDATE();
16+
17+
$Helper->DELETE();
18+
19+
$Helper->GET();
20+
21+
$Helper->REPLACE();
22+
23+
$Helper->change();
24+
$Helper->getCon();
25+
26+
27+
28+
29+
30+
31+
?>

examples/login.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
include "../index.php";
44

5+
/*
6+
include "../dist/SuperSQL.php";
7+
include "../dist/SuperSQL_helper.php";
8+
*/
9+
510
if (isset($_GET["username"]) && isset($_GET["pass"])) {
611

712
$SuperSQL = SQLHelper::connect("localhost","mysite","root","1234");

0 commit comments

Comments
 (0)