|
msg7086May 8, 2018
1
请求的代码在哪呢。
|
|
2
@msg7086 #1
请求的代码 $total_sql="SELECT * FROM topic_tag WHERE tag_id = 1"; $total_result =mysqli_query($conn,$total_sql); $total_row=mysqli_fetch_row($total_result); |
|
msg7086May 8, 2018
3
$total_row=mysqli_fetch_row($total_result); 不就把第一行请求走了吗。
while 里就从第二行开始读了呀? |
|
4
|
|
msg7086May 8, 2018
5
把这行多余的读取第一行然后扔掉的代码删掉。
|
|
6
@msg7086 #5
tks,搞定 |