質問編集履歴

2

調整

2021/01/14 05:52

投稿

shimon11
shimon11

スコア50

test CHANGED
File without changes
test CHANGED
@@ -48,21 +48,27 @@
48
48
 
49
49
  ```HTML
50
50
 
51
- object(stdClass)#4324 (1) {
51
+ array(1) {
52
52
 
53
- ["option_value"]=>
53
+ [0]=>
54
54
 
55
- string(757) "
55
+ object(stdClass)#4324 (1) {
56
56
 
57
- a:4:{
57
+ ["option_value"]=>
58
58
 
59
- i:0;a:4:{s:6:"region";s:12:"東京";s:7:"address";s:18:"東京都〇〇";s:4:"slug";s:24:"shibuya";}
59
+ string(757) "
60
60
 
61
- i:1;a:4:{s:6:"region";s:7:" 大阪";s:7:"address";s:80:"大阪〇〇";s:4:"slug";s:29:"osaka";}
61
+ a:4:{
62
62
 
63
- i:2;a:4:{s:6:"region";s:6:"北海道";s:7:"address";s:83:"北海道〇〇";s:4:"slug";s:29:"hokkaido";}
63
+ i:0;a:4:{s:6:"region";s:12:"東京";s:7:"address";s:18:"東京都〇〇";s:4:"slug";s:24:"shibuya";}
64
64
 
65
+ i:1;a:4:{s:6:"region";s:7:" 大阪";s:7:"address";s:80:"大阪〇〇";s:4:"slug";s:29:"osaka";}
66
+
67
+ i:2;a:4:{s:6:"region";s:6:"北海道";s:7:"address";s:83:"北海道〇〇";s:4:"slug";s:29:"hokkaido";}
68
+
65
- }"
69
+ }"
70
+
71
+ }
66
72
 
67
73
  }
68
74
 

1

修正

2021/01/14 05:52

投稿

shimon11
shimon11

スコア50

test CHANGED
File without changes
test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  以下のようなコードを打つと
26
26
 
27
- ```
27
+ ```PHP
28
28
 
29
29
  $sql = "SELECT option_value FROM wp_options WHERE option_name = 'school_lists'" ;
30
30
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  このようなデータが帰ってきます
48
48
 
49
- ```
49
+ ```HTML
50
50
 
51
51
  object(stdClass)#4324 (1) {
52
52