Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Contact {
- // Properties
- public $firstname = "";
- public $lastname = "";
- public $address1 = "";
- public $address2 = "";
- public $city = "";
- public $state = "";
- public $zipcode = "";
- public $phone = "";
- public $email = "";
- public $gender = "";
- public $accept = "";
- // Methods
- function resetform() {
- $this->firstname = "";
- $this->lastname = "";
- $this->address1 = "";
- $this->address2 = "";
- $this->city = "";
- $this->state = "";
- $this->zipcode = "";
- $this->phone = "";
- $this->email = "";
- $this->gender = "";
- $this->accept = "";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement