回答編集履歴

2

修正

2019/10/04 03:19

投稿

退会済みユーザー
test CHANGED
@@ -1,12 +1,14 @@
1
1
  ```php
2
+
3
+ $y = 93;
4
+
5
+
2
6
 
3
7
  for($i = 0; $i < count($member); $i++){
4
8
 
5
9
 
6
10
 
7
11
  $x = 21;
8
-
9
- $y = 93;
10
12
 
11
13
 
12
14
 
@@ -32,13 +34,15 @@
32
34
 
33
35
  ```php
34
36
 
37
+ $y = 93;
38
+
39
+
40
+
35
41
  foreach($member as $i => $row){
36
42
 
37
43
 
38
44
 
39
45
  $x = 21;
40
-
41
- $y = 93;
42
46
 
43
47
 
44
48
 

1

追記

2019/10/04 03:19

投稿

退会済みユーザー
test CHANGED
@@ -27,3 +27,35 @@
27
27
  }
28
28
 
29
29
  ```
30
+
31
+
32
+
33
+ ```php
34
+
35
+ foreach($member as $i => $row){
36
+
37
+
38
+
39
+ $x = 21;
40
+
41
+ $y = 93;
42
+
43
+
44
+
45
+ foreach($row as $j => $col){
46
+
47
+ $pdf->SetXY($x,$y);
48
+
49
+ $pdf->Write(0, $row[$j]);
50
+
51
+ $x += 15;
52
+
53
+ }
54
+
55
+
56
+
57
+ $y += 11;
58
+
59
+ }
60
+
61
+ ```