質問編集履歴
1
修正依頼の対応
title
CHANGED
File without changes
|
body
CHANGED
@@ -126,4 +126,66 @@
|
|
126
126
|
1列目横一列(20行)をkeyの値を入れにし、
|
127
127
|
2列目以降は該当するデータを格納して、csvデータできちんと表示されるようにしたいです。
|
128
128
|
|
129
|
-
お手数おかけしますがお力添えの程宜しくお願い申し上げます。。。
|
129
|
+
お手数おかけしますがお力添えの程宜しくお願い申し上げます。。。
|
130
|
+
|
131
|
+
デスクトップに入れたファイルの拡張子を.csvにしてエクセルで開いたデータは下記の通りです
|
132
|
+
|
133
|
+
```csv
|
134
|
+
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr570a731d918c9-trace').style.display = (document.getElementById('cakeErr570a731d918c9-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Missing argument 1 for App\Controller\Component\ProProfComponent::getList() called in /var/www/html/adm.repo.ne.jp/src/Controller/UtilController.php on line 33 and defined [<b>APP/Controller/Component/ProProfComponent.php</b> line <b>18</b>]<div id="cakeErr570a731d918c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr570a731d918c9-code').style.display = (document.getElementById('cakeErr570a731d918c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr570a731d918c9-context').style.display = (document.getElementById('cakeErr570a731d918c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr570a731d918c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array / </span><span style="color: #0000BB">false</span></span></code>
|
135
|
+
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></span>
|
136
|
+
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getList</span><span style="color: #007700">(</span><span style="color: #0000BB">$logId</span><span style="color: #007700"> </span><span style="color: #0000BB">$query</span><span style="color: #007700">=[]) {</span></span></code></pre><pre class="stack-trace">App\Controller\Component\ProProfComponent::getList() - APP/Controller/Component/ProProfComponent.php line 18
|
137
|
+
App\Controller\UtilController::goldList() - APP/Controller/UtilController.php line 33
|
138
|
+
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php line 429
|
139
|
+
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php line 114
|
140
|
+
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php line 87
|
141
|
+
[main] - ROOT/webroot/index.php line 36</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr570a731da1ea4-trace').style.display = (document.getElementById('cakeErr570a731da1ea4-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Array to string conversion [<b>CORE/src/Network/Response.php</b> line <b>559</b>]<div id="cakeErr570a731da1ea4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr570a731da1ea4-code').style.display = (document.getElementById('cakeErr570a731da1ea4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr570a731da1ea4-context').style.display = (document.getElementById('cakeErr570a731da1ea4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr570a731da1ea4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
|
142
|
+
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
|
143
|
+
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">echo </span><span style="color: #0000BB">$content</span><span style="color: #007700">;</span></span></code></pre><pre id="cakeErr570a731da1ea4-context" class="cake-context" style="display: none;">$content = [
|
144
|
+
" (int) 0 => ["
|
145
|
+
" 'id' => '2'"
|
146
|
+
" 'usr_id' => '10640'"
|
147
|
+
" 'name' => 'masacorleone'"
|
148
|
+
" 'sex' => '・スj・ス・ス'"
|
149
|
+
" 'birth' => '0000-00-00'"
|
150
|
+
" 'area' => '・ス_・ズ川県'"
|
151
|
+
" 'mail' => 'negishi0094@gmail.com'"
|
152
|
+
" 'job' => ''"
|
153
|
+
" 'jnre' => ''"
|
154
|
+
" 'prof' => ''"
|
155
|
+
" 'level' => ''"
|
156
|
+
" 'history' => ''"
|
157
|
+
" 'job_jnre' => ''"
|
158
|
+
" 'job_history1' => ''"
|
159
|
+
" 'job_history2' => ''"
|
160
|
+
" 'job_history3' => ''"
|
161
|
+
" 'others' => ''"
|
162
|
+
" 'pr' => ''"
|
163
|
+
" 'post_at' => '2014-08-21 18:07:11'"
|
164
|
+
" 'del_flg' => '0'"
|
165
|
+
" ]"
|
166
|
+
" (int) 1 => ["
|
167
|
+
" 'id' => '3'"
|
168
|
+
" 'usr_id' => '127153'"
|
169
|
+
" 'name' => 'moshiko0910'"
|
170
|
+
" 'sex' => '・ス・ス・ス・ス'"
|
171
|
+
" 'birth' => '1986-09-10'"
|
172
|
+
" 'area' => '・ス・ス・スm・ス・ス'"
|
173
|
+
" 'mail' => 'iroas0910@ezweb.ne.jp'"
|
174
|
+
" 'job' => ''"
|
175
|
+
" 'jnre' => '・ス・ス・スe'"
|
176
|
+
" 'prof' => '・スR・スX・ス・ス・ス・ス・ス・ス・ス・ス・ス・ス・スD・ス・ス・スナ、・スニにゑソス・ス・ス・ス・ス・ス・ス・ストまゑソス(*^・ス[^)・スm・ス・ス'"
|
177
|
+
" 'level' => '・スV・ス・ス・スo・ス['"
|
178
|
+
" 'history' => '1・スN・ス・ス・ス・ス'"
|
179
|
+
" 'job_jnre' => '・ス・ス・スR・ス~・スE・スフ鯉ソス・スk'"
|
180
|
+
" 'job_history1' => '`` `` ``'"
|
181
|
+
" 'job_history2' => '`` `` ``'"
|
182
|
+
" 'job_history3' => '`` `` ``'"
|
183
|
+
" 'others' => '・ス・ス・ス `` ``'"
|
184
|
+
" 'pr' => ''"
|
185
|
+
" 'post_at' => '2014-08-21 18:53:52'"
|
186
|
+
" 'del_flg' => '0'"
|
187
|
+
" ]"
|
188
|
+
|
189
|
+
```
|
190
|
+
|
191
|
+
よろしくお願いします
|