Browse Source

phone number

master
farhan 3 months ago
parent
commit
43b58ad412
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/MainController.php

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

74
 
74
 
75
         $csvData = "\xEF\xBB\xBF" . "Nama,Bilangan,No Tel\n";
75
         $csvData = "\xEF\xBB\xBF" . "Nama,Bilangan,No Tel\n";
76
         foreach ($vips as $vip) {
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
         $fileName = "vip_data.csv";
80
         $fileName = "vip_data.csv";

Loading…
Cancel
Save