Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once 'lib/router.php';
- require_once 'PMc.php';
- $conn = new PMc("localhost", "uY-C", "mandarin", "your-course", "utf8");
- $query = $conn->query("SELECT * FROM users");
- $user_data = $conn->query("SELECT * FROM users");
- while($row = $user_data->fetch(PDO::FETCH_LAZY)) {
- echo($row['id']."</br>");
- echo($row['nickname']."</br>");
- echo($row['salt']."</br>");
- echo($row['password']."</br>");
- }
- $router = Router::cat();
- if($router) return true;
- else return false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement