PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Igor Herson Aquino de França   Export email list to CSV and vCard   ???   Download  
File: ???
Role: Example script
Content type: text/plain
Description: Example
Class: Export email list to CSV and vCard
Export contact lists in CSV and vCard formats
Author: By
Last change:
Date: 15 years ago
Size: 691 bytes
 

Contents

Class file image Download
<?php
include('emailexport.class.php');
$emailExport = new emailExport();

$emails = array();
$emails[] = array('firstName' => 'Igor', 'middleName' => 'Herson', 'lastName' => 'Aquino', 'email1' => '[email protected]', 'email2' => '[email protected]', 'email3' => '[email protected]');
$emails[] = array('firstName' => 'Jenner', 'middleName' => 'Portela', 'lastName' => 'Chagas', 'email1' => '[email protected]', 'email2' => '[email protected]');

$emailExport->getList($emails);
$emailExport->exportVcard();
$emailExport->exportCsv();
?>
<p align="right"><span><a href="export.vcf">Exportar para vCard</a></span> - <span><a href="export.csv">Exportar para CVS</a></span></p>