Validate_IT
[ class tree: Validate_IT ] [ index: Validate_IT ] [ all elements ]

Source for file postalcode.php

Documentation is available at postalcode.php

  1. <?php
  2. require_once 'Validate/IT.php';
  3.  
  4. if (Validate_IT::postalCode('20126')) {
  5.     echo 'Valid postal code (CAP).';
  6. else {
  7.     echo 'NOT valid postal code (CAP).';
  8. }
  9. ?>

Documentation generated on Mon, 11 Mar 2019 15:16:50 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.