Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Intern extends Template {
- var $username = '';
- var $password = '';
- var $student = '';
- var $academic = '';
- var $admin = '';
- protected function setVariables() {
- if (isset($_POST['send'])) {
- $this->username = $_POST['username'];
- $this->password = $_POST['password'];
- $this->$_POST['accountType'] = 'checked="checked"';
- } else {
- $this->student = 'checked="checked"';
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement