Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 13 lines (10 sloc) 0.228 kB
0861b87 @gonzalo123 first commit
authored
1 <?php
2 include "CPool.php";
3 define('NODEPHP', '127.0.0.1:1337');
4
5 $dbh = new CPool();
6 $sql = "SELECT * FROM USERS";
7 $stmt = $dbh->prepare($sql);
8 $stmt->execute();
9 $data = $stmt->fetchAll();
10 $stmt->closeCursor();
11 print_r($data);
12
Something went wrong with that request. Please try again.