Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Array
- (
- [0] => Array
- (
- [imie;nazwisko;telefon] => 3;magdab1284@gmail.com;888438734
- )
- [1] => Array
- (
- [imie;nazwisko;telefon] => 6;magda.doleaa@gmail.com;500506518
- )
- [2] => Array
- (
- [imie;nazwisko;telefon] => 7;xscape@interia.pl;500506514
- )
- [3] => Array
- (
- [imie;nazwisko;telefon] => 16;marzenka_spittszek@wp.pl;512219888
- )
- [4] => Array
- (
- [imie;nazwisko;telefon] => 17;natalia.krupa@gazeta.pl;796688012
- )
- [5] => Array
- (
- [imie;nazwisko;telefon] => 19;olastta@profi-lingua.pl;507823044
- )
- [6] => Array
- (
- [imie;nazwisko;telefon] => 32;m.bastalyson@gmail.com;695036055
- )
- [7] => Array
- (
- [imie;nazwisko;telefon] => 39;mateusz.malochleb@gmail.com;600678649
- )
- [8] => Array
- (
- [imie;nazwisko;telefon] => 50;aa.poplawska@gmail.com;504430005
- )
- [9] => Array
- (
- [imie;nazwisko;telefon] => 52;katarzyna.porebska@vp.pl;606272420
- )
- [10] => Array
- (
- [imie;nazwisko;telefon] => 54;juru1880@gmail.com;502442927
- )
- [11] => Array
- (
- [imie;nazwisko;telefon] => 720;marzena.walczuch@gmail.com;668544084
- )
- [12] => Array
- (
- [imie;nazwisko;telefon] => 54;info@przedszkole-happykids.pl;500506307
- )
- )
- $csv = array_map("str_getcsv", file($path,FILE_SKIP_EMPTY_LINES));
- $keys = array_shift($csv);
- foreach ($csv as $i=>$row) {
- $csv[$i] = array_combine($keys, $row);
- }
- echo '<pre>';
- print_r($csv);
- echo '</pre>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement