Explorar el Código

phone number

master
farhan hace 3 meses
padre
commit
43b58ad412
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Http/Controllers/MainController.php

+ 1
- 1
app/Http/Controllers/MainController.php Ver fichero

@@ -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…
Cancelar
Guardar