Php / mysql不显示数据 [英] Php/mysql not displaying data

查看:98
本文介绍了Php / mysql不显示数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在threads.php中创建了以下html表







I have created a following html table in threads.php



Posted by:  At:         On:                   Topic Name:   Replies:

myname12308:51:51 AM    11th September 2013   topic-2          0
myname00108:51:10 AM    11th September 2013   topic-1          0



问题是假设我在topic-2中有一个回复。现在,如果我尝试显示对应于topic-2的回复总数,则只需

显示就像这样 -






Problem is suppose i have one reply in topic-2. Now if i try to display the total number of replies correspond to topic-2, it is just
display it like this-


Posted by:  At:         On:                  Topic Name:   Replies:

pankaj645   08:51:51 AM 11th September 2013   topic-2      1
pankaj645   08:51:10 AM 11th September 2013   topic-1      1



正如您所看到的那样,显示总数也与主题1相对应。

帮助PLZ ...



紧急删除,代码块添加 - OriginalGriff [/ edit]


As you can see it displaying total number correspond to topic-1 too.
help plz...

[edit]Urgency deleted, Code block added - OriginalGriff[/edit]

推荐答案

我建​​议您的答案可以在这里找到:   [答案]





I suggest the answer to you question can be found here:   [Answer]



这篇关于Php / mysql不显示数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆