質問編集履歴

1

誤記修正

2015/11/11 09:04

投稿

Satochan24
Satochan24

スコア113

test CHANGED
File without changes
test CHANGED
@@ -34,11 +34,11 @@
34
34
 
35
35
  {
36
36
 
37
- $result = mysqli_query($link, "SELECT * from access_record group by golf_house_id having access_type = " . $key);
37
+ $result = mysqli_query($link, "SELECT * from access_record group by id having access_type = " . $key);
38
38
 
39
39
  $row = mysqli_fetch_array($result);
40
40
 
41
- echo $row['golf_house_id'] . ":" . $row['access_type'] . ":" . mysqli_num_rows($result),"\n";
41
+ echo $row['id'] . ":" . $row['access_type'] . ":" . mysqli_num_rows($result),"\n";
42
42
 
43
43
  }
44
44