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

Source for file region.php

Documentation is available at region.php

  1. <?php
  2. require_once 'Validate/IT.php';
  3.  
  4. if (Validate_IT::region('lom')) {
  5.     echo 'Valid region code.';
  6. else {
  7.     echo 'NOT valid region code.';
  8. }
  9.  
  10. if (Validate_IT::regionName('lombardia')) {
  11.     echo 'Valid region name.';
  12. else {
  13.     echo 'NOT valid region name.';
  14. }
  15. ?>

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