Login   Register  
PHP Classes
elePHPant
Icontem

File: demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Roberto Bertó  >  CepCusto - return the value of SEDEX (deprecated)  >  demo.php  >  Download  
File: demo.php
Role: ???
Content type: text/plain
Description: demo of cepcusto
Class: CepCusto - return the value of SEDEX (deprecated)
Old Class, deprecated. Dont use it. Only to learn
Author: By
Last change:
Date: 13 years ago
Size: 274 bytes
 

Contents

Class file image Download
<?PHP

include "cepcusto.php";
$cepcusto = new cepcusto;

#poe o arquivo cepcusto.dat para o array dados
$data = $cepcusto->read_database("cepcusto.dat");

#imprime o valor do cep para o estado do RJ com o cep 20000
print $cepcusto->valor($data,"RJ",20000);


?>