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

[ad_1]

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 );
}

[ad_2]

solved converting phone numbers to vcf format algorithm [closed]