像这样创建一个html表 [英] Create an html table like this one

查看:39
本文介绍了像这样创建一个html表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello guys

i在DB中有一个表,在组之间交换消息,我需要你创建一个像这样的表(两组之间交换的消息)

知道Gr1,....是来自DB的组名,数字也来自DB。
http://www.freeimagehosting.net/uploads/10b1fb8eeb.jpg

Hello guys
i have a table in DB that has messages exchanged between groups and i need yo create a table like this one (messages exchanged between 2 groups)
knowing that Gr1,.... are group names from DB and numbers are from DB too.
http://www.freeimagehosting.net/uploads/10b1fb8eeb.jpg

推荐答案

嘿。

如果我们要提供任何真正的帮助,我们需要看看您的数据库是如何设置的。
Hey.

If we are to be of any real help, we need to see how your database is set up.


hi,

php gdb function或者使用数据库

php gdb function or use database


@Atli ok抱歉。首先我只想说你以一种不错的方式指出了这个错误,不像其他论坛和教程中的大多数人那样。

第二个是包含group_id的表组,并从中获取to_group和from_group的登录。

还有包含to_group的表消息,from_group和messages。

附上这两张桌子的结构。

我相信你会解决这个问题。

谢谢

@Atli ok sorry.First I just want to say too that you pointed out this mistake in a nice way not like most of the people in other forums and tutorials do.
Second there is table groups with group_id and login from where i get the to_group and from_group.
And there is table messages that has the to_group,from_group and messages.
Attached the structure of these 2 tables.
I feel confident that you are going to solve this problem.
Thanks

展开 | 选择 < span class =codeDivider> | Wrap | 行号


这篇关于像这样创建一个html表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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