Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class User
- {
- private $db;
- public function __construct(mysqli $db)
- {
- $this->db = $db;
- }
- public function Login($username, $password)
- {
- $this->db->query("...")
- ...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement