質問編集履歴
2
画像、データの削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -176,269 +176,9 @@
|
|
176
176
|
|
177
177
|
```
|
178
178
|
|
179
|
-
### 配列に入っている値のデータ(2か3どちらかのみ表示したい)
|
180
179
|
|
181
|
-
```ここに言語を入力
|
182
180
|
|
183
|
-
array(5) {
|
184
181
|
|
185
|
-
//0.1.は省略しました
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
[2]=>
|
190
|
-
|
191
|
-
array(19) {
|
192
|
-
|
193
|
-
["user_id"]=>
|
194
|
-
|
195
|
-
string(2) "17"
|
196
|
-
|
197
|
-
["name"]=>
|
198
|
-
|
199
|
-
string(6) "雄介"
|
200
|
-
|
201
|
-
["email"]=>
|
202
|
-
|
203
|
-
string(18) "yusuke@example.com"
|
204
|
-
|
205
|
-
["password"]=>
|
206
|
-
|
207
|
-
string(60) "$2y$10$jhCIRGDOSo2.gUew760PHObOt/hpwKl7YaKkLGyoviXMBJ.h/smpq"
|
208
|
-
|
209
|
-
["birthdate"]=>
|
210
|
-
|
211
|
-
string(10) "2002-10-31"
|
212
|
-
|
213
|
-
["age"]=>
|
214
|
-
|
215
|
-
NULL
|
216
|
-
|
217
|
-
["state"]=>
|
218
|
-
|
219
|
-
string(7) "okinawa"
|
220
|
-
|
221
|
-
["gender"]=>
|
222
|
-
|
223
|
-
string(1) "1"
|
224
|
-
|
225
|
-
["work"]=>
|
226
|
-
|
227
|
-
string(5) "biyou"
|
228
|
-
|
229
|
-
["hobby"]=>
|
230
|
-
|
231
|
-
string(18) "バトミントン"
|
232
|
-
|
233
|
-
["message"]=>
|
234
|
-
|
235
|
-
string(21) "料理がすきです"
|
236
|
-
|
237
|
-
["school_career"]=>
|
238
|
-
|
239
|
-
string(7) "daigaku"
|
240
|
-
|
241
|
-
["send_like_userid"]=>
|
242
|
-
|
243
|
-
NULL
|
244
|
-
|
245
|
-
["from_like_userid"]=>
|
246
|
-
|
247
|
-
NULL
|
248
|
-
|
249
|
-
["blood_type"]=>
|
250
|
-
|
251
|
-
string(1) "O"
|
252
|
-
|
253
|
-
["personality"]=>
|
254
|
-
|
255
|
-
string(12) "おだやか"
|
256
|
-
|
257
|
-
["img_id"]=>
|
258
|
-
|
259
|
-
string(2) "10"
|
260
|
-
|
261
|
-
["img_name"]=>
|
262
|
-
|
263
|
-
string(9) "man03.jpg"
|
264
|
-
|
265
|
-
["img_path"]=>
|
266
|
-
|
267
|
-
string(33) "../images/20201228063210man03.jpg"
|
268
|
-
|
269
|
-
}
|
270
|
-
|
271
|
-
[3]=>
|
272
|
-
|
273
|
-
array(19) {
|
274
|
-
|
275
|
-
["user_id"]=>
|
276
|
-
|
277
|
-
string(2) "17"
|
278
|
-
|
279
|
-
["name"]=>
|
280
|
-
|
281
|
-
string(6) "雄介"
|
282
|
-
|
283
|
-
["email"]=>
|
284
|
-
|
285
|
-
string(18) "yusuke@example.com"
|
286
|
-
|
287
|
-
["password"]=>
|
288
|
-
|
289
|
-
string(60) "$2y$10$jhCIRGDOSo2.gUew760PHObOt/hpwKl7YaKkLGyoviXMBJ.h/smpq"
|
290
|
-
|
291
|
-
["birthdate"]=>
|
292
|
-
|
293
|
-
string(10) "2002-10-31"
|
294
|
-
|
295
|
-
["age"]=>
|
296
|
-
|
297
|
-
NULL
|
298
|
-
|
299
|
-
["state"]=>
|
300
|
-
|
301
|
-
string(7) "okinawa"
|
302
|
-
|
303
|
-
["gender"]=>
|
304
|
-
|
305
|
-
string(1) "1"
|
306
|
-
|
307
|
-
["work"]=>
|
308
|
-
|
309
|
-
string(5) "biyou"
|
310
|
-
|
311
|
-
["hobby"]=>
|
312
|
-
|
313
|
-
string(18) "バトミントン"
|
314
|
-
|
315
|
-
["message"]=>
|
316
|
-
|
317
|
-
string(21) "料理がすきです"
|
318
|
-
|
319
|
-
["school_career"]=>
|
320
|
-
|
321
|
-
string(7) "daigaku"
|
322
|
-
|
323
|
-
["send_like_userid"]=>
|
324
|
-
|
325
|
-
NULL
|
326
|
-
|
327
|
-
["from_like_userid"]=>
|
328
|
-
|
329
|
-
NULL
|
330
|
-
|
331
|
-
["blood_type"]=>
|
332
|
-
|
333
|
-
string(1) "O"
|
334
|
-
|
335
|
-
["personality"]=>
|
336
|
-
|
337
|
-
string(12) "おだやか"
|
338
|
-
|
339
|
-
["img_id"]=>
|
340
|
-
|
341
|
-
string(2) "11"
|
342
|
-
|
343
|
-
["img_name"]=>
|
344
|
-
|
345
|
-
string(9) "man04.jpg"
|
346
|
-
|
347
|
-
["img_path"]=>
|
348
|
-
|
349
|
-
string(33) "../images/20201228063455man04.jpg"
|
350
|
-
|
351
|
-
}
|
352
|
-
|
353
|
-
[4]=>
|
354
|
-
|
355
|
-
array(19) {
|
356
|
-
|
357
|
-
["user_id"]=>
|
358
|
-
|
359
|
-
string(2) "18"
|
360
|
-
|
361
|
-
["name"]=>
|
362
|
-
|
363
|
-
string(6) "智也"
|
364
|
-
|
365
|
-
["email"]=>
|
366
|
-
|
367
|
-
string(18) "tomoya@example.com"
|
368
|
-
|
369
|
-
["password"]=>
|
370
|
-
|
371
|
-
string(60) "$2y$10$ebNrTXTWOF6hFFjyg/AxAe0W/sRc/16IKbEDvWMcBXvh3hX/UFS9S"
|
372
|
-
|
373
|
-
["birthdate"]=>
|
374
|
-
|
375
|
-
string(10) "2002-12-07"
|
376
|
-
|
377
|
-
["age"]=>
|
378
|
-
|
379
|
-
NULL
|
380
|
-
|
381
|
-
["state"]=>
|
382
|
-
|
383
|
-
string(8) "yamagata"
|
384
|
-
|
385
|
-
["gender"]=>
|
386
|
-
|
387
|
-
string(1) "1"
|
388
|
-
|
389
|
-
["work"]=>
|
390
|
-
|
391
|
-
string(8) "noougyou"
|
392
|
-
|
393
|
-
["hobby"]=>
|
394
|
-
|
395
|
-
string(9) "ゲーム"
|
396
|
-
|
397
|
-
["message"]=>
|
398
|
-
|
399
|
-
string(36) "一緒にプロゲートしようよ"
|
400
|
-
|
401
|
-
["school_career"]=>
|
402
|
-
|
403
|
-
string(6) "tandai"
|
404
|
-
|
405
|
-
["send_like_userid"]=>
|
406
|
-
|
407
|
-
NULL
|
408
|
-
|
409
|
-
["from_like_userid"]=>
|
410
|
-
|
411
|
-
NULL
|
412
|
-
|
413
|
-
["blood_type"]=>
|
414
|
-
|
415
|
-
string(1) "B"
|
416
|
-
|
417
|
-
["personality"]=>
|
418
|
-
|
419
|
-
string(6) "熱い"
|
420
|
-
|
421
|
-
["img_id"]=>
|
422
|
-
|
423
|
-
string(2) "12"
|
424
|
-
|
425
|
-
["img_name"]=>
|
426
|
-
|
427
|
-
string(9) "man04.jpg"
|
428
|
-
|
429
|
-
["img_path"]=>
|
430
|
-
|
431
|
-
string(33) "../images/20201228063735man04.jpg"
|
432
|
-
|
433
|
-
}
|
434
|
-
|
435
|
-
}
|
436
|
-
|
437
|
-
```
|
438
|
-
|
439
|
-
### 実際の表示画面
|
440
|
-
|
441
|
-
![イメージ説明](743c77167c51cc54593142cd345810fc.png)
|
442
182
|
|
443
183
|
### 考えたこと
|
444
184
|
|
1
修正依頼のあった配列に入っている値を更新しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -176,6 +176,266 @@
|
|
176
176
|
|
177
177
|
```
|
178
178
|
|
179
|
+
### 配列に入っている値のデータ(2か3どちらかのみ表示したい)
|
180
|
+
|
181
|
+
```ここに言語を入力
|
182
|
+
|
183
|
+
array(5) {
|
184
|
+
|
185
|
+
//0.1.は省略しました
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
[2]=>
|
190
|
+
|
191
|
+
array(19) {
|
192
|
+
|
193
|
+
["user_id"]=>
|
194
|
+
|
195
|
+
string(2) "17"
|
196
|
+
|
197
|
+
["name"]=>
|
198
|
+
|
199
|
+
string(6) "雄介"
|
200
|
+
|
201
|
+
["email"]=>
|
202
|
+
|
203
|
+
string(18) "yusuke@example.com"
|
204
|
+
|
205
|
+
["password"]=>
|
206
|
+
|
207
|
+
string(60) "$2y$10$jhCIRGDOSo2.gUew760PHObOt/hpwKl7YaKkLGyoviXMBJ.h/smpq"
|
208
|
+
|
209
|
+
["birthdate"]=>
|
210
|
+
|
211
|
+
string(10) "2002-10-31"
|
212
|
+
|
213
|
+
["age"]=>
|
214
|
+
|
215
|
+
NULL
|
216
|
+
|
217
|
+
["state"]=>
|
218
|
+
|
219
|
+
string(7) "okinawa"
|
220
|
+
|
221
|
+
["gender"]=>
|
222
|
+
|
223
|
+
string(1) "1"
|
224
|
+
|
225
|
+
["work"]=>
|
226
|
+
|
227
|
+
string(5) "biyou"
|
228
|
+
|
229
|
+
["hobby"]=>
|
230
|
+
|
231
|
+
string(18) "バトミントン"
|
232
|
+
|
233
|
+
["message"]=>
|
234
|
+
|
235
|
+
string(21) "料理がすきです"
|
236
|
+
|
237
|
+
["school_career"]=>
|
238
|
+
|
239
|
+
string(7) "daigaku"
|
240
|
+
|
241
|
+
["send_like_userid"]=>
|
242
|
+
|
243
|
+
NULL
|
244
|
+
|
245
|
+
["from_like_userid"]=>
|
246
|
+
|
247
|
+
NULL
|
248
|
+
|
249
|
+
["blood_type"]=>
|
250
|
+
|
251
|
+
string(1) "O"
|
252
|
+
|
253
|
+
["personality"]=>
|
254
|
+
|
255
|
+
string(12) "おだやか"
|
256
|
+
|
257
|
+
["img_id"]=>
|
258
|
+
|
259
|
+
string(2) "10"
|
260
|
+
|
261
|
+
["img_name"]=>
|
262
|
+
|
263
|
+
string(9) "man03.jpg"
|
264
|
+
|
265
|
+
["img_path"]=>
|
266
|
+
|
267
|
+
string(33) "../images/20201228063210man03.jpg"
|
268
|
+
|
269
|
+
}
|
270
|
+
|
271
|
+
[3]=>
|
272
|
+
|
273
|
+
array(19) {
|
274
|
+
|
275
|
+
["user_id"]=>
|
276
|
+
|
277
|
+
string(2) "17"
|
278
|
+
|
279
|
+
["name"]=>
|
280
|
+
|
281
|
+
string(6) "雄介"
|
282
|
+
|
283
|
+
["email"]=>
|
284
|
+
|
285
|
+
string(18) "yusuke@example.com"
|
286
|
+
|
287
|
+
["password"]=>
|
288
|
+
|
289
|
+
string(60) "$2y$10$jhCIRGDOSo2.gUew760PHObOt/hpwKl7YaKkLGyoviXMBJ.h/smpq"
|
290
|
+
|
291
|
+
["birthdate"]=>
|
292
|
+
|
293
|
+
string(10) "2002-10-31"
|
294
|
+
|
295
|
+
["age"]=>
|
296
|
+
|
297
|
+
NULL
|
298
|
+
|
299
|
+
["state"]=>
|
300
|
+
|
301
|
+
string(7) "okinawa"
|
302
|
+
|
303
|
+
["gender"]=>
|
304
|
+
|
305
|
+
string(1) "1"
|
306
|
+
|
307
|
+
["work"]=>
|
308
|
+
|
309
|
+
string(5) "biyou"
|
310
|
+
|
311
|
+
["hobby"]=>
|
312
|
+
|
313
|
+
string(18) "バトミントン"
|
314
|
+
|
315
|
+
["message"]=>
|
316
|
+
|
317
|
+
string(21) "料理がすきです"
|
318
|
+
|
319
|
+
["school_career"]=>
|
320
|
+
|
321
|
+
string(7) "daigaku"
|
322
|
+
|
323
|
+
["send_like_userid"]=>
|
324
|
+
|
325
|
+
NULL
|
326
|
+
|
327
|
+
["from_like_userid"]=>
|
328
|
+
|
329
|
+
NULL
|
330
|
+
|
331
|
+
["blood_type"]=>
|
332
|
+
|
333
|
+
string(1) "O"
|
334
|
+
|
335
|
+
["personality"]=>
|
336
|
+
|
337
|
+
string(12) "おだやか"
|
338
|
+
|
339
|
+
["img_id"]=>
|
340
|
+
|
341
|
+
string(2) "11"
|
342
|
+
|
343
|
+
["img_name"]=>
|
344
|
+
|
345
|
+
string(9) "man04.jpg"
|
346
|
+
|
347
|
+
["img_path"]=>
|
348
|
+
|
349
|
+
string(33) "../images/20201228063455man04.jpg"
|
350
|
+
|
351
|
+
}
|
352
|
+
|
353
|
+
[4]=>
|
354
|
+
|
355
|
+
array(19) {
|
356
|
+
|
357
|
+
["user_id"]=>
|
358
|
+
|
359
|
+
string(2) "18"
|
360
|
+
|
361
|
+
["name"]=>
|
362
|
+
|
363
|
+
string(6) "智也"
|
364
|
+
|
365
|
+
["email"]=>
|
366
|
+
|
367
|
+
string(18) "tomoya@example.com"
|
368
|
+
|
369
|
+
["password"]=>
|
370
|
+
|
371
|
+
string(60) "$2y$10$ebNrTXTWOF6hFFjyg/AxAe0W/sRc/16IKbEDvWMcBXvh3hX/UFS9S"
|
372
|
+
|
373
|
+
["birthdate"]=>
|
374
|
+
|
375
|
+
string(10) "2002-12-07"
|
376
|
+
|
377
|
+
["age"]=>
|
378
|
+
|
379
|
+
NULL
|
380
|
+
|
381
|
+
["state"]=>
|
382
|
+
|
383
|
+
string(8) "yamagata"
|
384
|
+
|
385
|
+
["gender"]=>
|
386
|
+
|
387
|
+
string(1) "1"
|
388
|
+
|
389
|
+
["work"]=>
|
390
|
+
|
391
|
+
string(8) "noougyou"
|
392
|
+
|
393
|
+
["hobby"]=>
|
394
|
+
|
395
|
+
string(9) "ゲーム"
|
396
|
+
|
397
|
+
["message"]=>
|
398
|
+
|
399
|
+
string(36) "一緒にプロゲートしようよ"
|
400
|
+
|
401
|
+
["school_career"]=>
|
402
|
+
|
403
|
+
string(6) "tandai"
|
404
|
+
|
405
|
+
["send_like_userid"]=>
|
406
|
+
|
407
|
+
NULL
|
408
|
+
|
409
|
+
["from_like_userid"]=>
|
410
|
+
|
411
|
+
NULL
|
412
|
+
|
413
|
+
["blood_type"]=>
|
414
|
+
|
415
|
+
string(1) "B"
|
416
|
+
|
417
|
+
["personality"]=>
|
418
|
+
|
419
|
+
string(6) "熱い"
|
420
|
+
|
421
|
+
["img_id"]=>
|
422
|
+
|
423
|
+
string(2) "12"
|
424
|
+
|
425
|
+
["img_name"]=>
|
426
|
+
|
427
|
+
string(9) "man04.jpg"
|
428
|
+
|
429
|
+
["img_path"]=>
|
430
|
+
|
431
|
+
string(33) "../images/20201228063735man04.jpg"
|
432
|
+
|
433
|
+
}
|
434
|
+
|
435
|
+
}
|
436
|
+
|
437
|
+
```
|
438
|
+
|
179
439
|
### 実際の表示画面
|
180
440
|
|
181
441
|
![イメージ説明](743c77167c51cc54593142cd345810fc.png)
|