Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $db = new mysqli("localhost", "root", "", "dubstep");
- class Main {
- //global $db; // invalid, globals off or something?
- // cant refer to $db (appears to be NULL), and having $this->db would just be gay
- }
Add Comment
Please, Sign In to add comment