connector = new DbConnector(); } function fill($userID){ $result = $this->connector->query('select * from user_contact where first_name = "Stephen"'); print "$result"; } } fill('1234');