Advertisement
Andronicuszeno

contact.php

Apr 5th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.60 KB | None | 0 0
  1. <?php
  2.  
  3. class Contact {
  4.     // Properties
  5.     public $firstname = "";
  6.     public $lastname = "";
  7.     public $address1 = "";
  8.     public $address2 = "";
  9.     public $city = "";
  10.     public $state = "";
  11.     public $zipcode = "";
  12.     public $phone = "";
  13.     public $email = "";
  14.     public $gender = "";
  15.     public $accept = "";
  16.    
  17.    
  18.     // Methods
  19.     function resetform() {
  20.         $this->firstname = "";
  21.         $this->lastname = "";
  22.         $this->address1 = "";
  23.         $this->address2 = "";
  24.         $this->city = "";
  25.         $this->state = "";
  26.         $this->zipcode = "";
  27.         $this->phone = "";
  28.         $this->email = "";
  29.         $this->gender = "";
  30.         $this->accept = "";
  31.     }
  32.  
  33. }
  34.  
  35. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement