Sfoglia il codice sorgente

phone number

master
farhan 3 mesi fa
parent
commit
43b58ad412
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      app/Http/Controllers/MainController.php

+ 1
- 1
app/Http/Controllers/MainController.php Vedi File

@@ -74,7 +74,7 @@ class MainController extends Controller
74 74
 
75 75
         $csvData = "\xEF\xBB\xBF" . "Nama,Bilangan,No Tel\n";
76 76
         foreach ($vips as $vip) {
77
-            $csvData .= "{$vip->name},{$vip->member},{$vip->phone}\n";
77
+            $csvData .= "{$vip->name},{$vip->member},\t{$vip->phone}\n";
78 78
         }
79 79
 
80 80
         $fileName = "vip_data.csv";

Loading…
Annulla
Salva