Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class User
- {
- private id;
- private name;
- private password;
- private mail;
- public function __constrctor($name, $password, $mail) {
- $this->name = $name;
- $this->password = $password;
- $this->mail = $mail;
- }
- public function Register() {
- //tu rejestracja, dodawanie do bazy itp
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement