[Solved] converting phone numbers to vcf format algorithm [closed]


You can retrieve the fields of each line using str_getcsv().

http://www.php.net/manual/en/function.str-getcsv.php

Or just explode a second time:

foreach( explode( "\n", $text ) as $line )
{
    $fields = explode( ',', $line );
    var_dump( $fields );
}

solved converting phone numbers to vcf format algorithm [closed]