質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /
|
11
|
+
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in 〇〇/www/muto/sample.php on line 4
|
12
12
|
|
13
13
|
|
14
14
|
|
1
コード機能似て変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,17 +16,15 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
<?php
|
19
|
+
<!--?php
|
20
|
-
|
21
|
-
require 'vendor/autoload.php';
|
22
20
|
|
23
21
|
|
24
22
|
|
23
|
+
require '/home/mobile-crmtool/www/muto/vendor/autoload.php';
|
24
|
+
|
25
25
|
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
26
26
|
|
27
|
-
use PhpOffice\PhpSpreadsheet\Writer\Xlsx
|
27
|
+
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
28
|
-
|
29
|
-
|
30
28
|
|
31
29
|
class Sample extends CI_Controller {
|
32
30
|
|
@@ -36,7 +34,7 @@
|
|
36
34
|
|
37
35
|
$spreadsheet = new Spreadsheet();
|
38
36
|
|
39
|
-
$sheet = $spreadsheet->getActiveSheet();
|
37
|
+
$sheet = $spreadsheet--->getActiveSheet();
|
40
38
|
|
41
39
|
$sheet->setCellValue('A1', 'Hello World !');
|
42
40
|
|
@@ -52,10 +50,6 @@
|
|
52
50
|
|
53
51
|
}
|
54
52
|
|
55
|
-
?>
|
56
|
-
|
57
|
-
|
58
|
-
|
59
53
|
1~5行目にエラーがあるのは把握してはいるのですが、ダブルクオートなどを足しても状況変わらずです。
|
60
54
|
|
61
55
|
宜しくお願い致します。
|