如何从外部更新htm文件中的表? [英] How do I externally update a table in my htm file?

查看:77
本文介绍了如何从外部更新htm文件中的表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的不知道从哪里开始这个,因为我对脚本非常陌生,但我确实有html的中级技能,所以我想我会尝试从正确的方向轻推一个帮助网站。


我正在建立一个网站,我需要有一个在线电脑游戏联盟的团队排名表。

我会把这个表放在我的.htm文件中,因为我想将它集成到页面中,看起来就像常规表一样。

但是,我希望能够从外部更新此表中的数据,因此我不必在每次匹配后更改.htm文件,更新团队,他们在桌面上的位置以及其余数据。


对我来说这个方法的主要目的是为了方便使用。

i也希望这个外部文件可以为我排序桌面上的团队位置,基于这个团队赢得了积分。


所以,有没有人知道文件格式或外部来源我可以使用?像PHP或其他脚本?

以及我将如何实现这一目标。


欢呼。

罗恩。

I really have no idea where to start for this, as i''m VERY new to scripting, but i do have intermediate skills at html, so i thought i''d try and get a nudge in the right direction from a help site.

I''m currently making a website where I''ll need to have a rankings table of teams for an online computer game league.
I''ll put this table in my .htm file, as I want it to be integrated in the page, and look just like a regular table would.
but, I want to be able to externally update the data in this table, so I don''t have to change the .htm file after every match, updating the teams, their positions on the table and the rest of the data.

the primary aim of this method for me, is for ease of use.
i would also like this external file to be able to sort the positions of teams on the table for me, based on the points this team has won.

so, does anyone know of a format of file or external source i could use? like PHP or another script?
and how i would achieve this goal.


cheers.
rowan.

推荐答案

你有什么可用的PHP,ASP等...我要把这个帖子移到相应的论坛。
What do you have available PHP,ASP, etc... I''m going to move this thread to the appropriate forum.


嗯,我已经在主机方案中使用了mySQL和PHP4 / PHP5,但我只是缺乏编码知识。


您认为哪一个?会更合适吗?为了我想要实现的基本目标。
umm, ive got mySQL and PHP4/PHP5 available to use in the hosting plan, but i just lack any knowledge of coding in them.

which one do you think would be more appropriate? for the basic aims i''m trying to achieve.


PHP4 / PHP5的主要版本是你可以在你的网站上运行PHP。我要把这个帖子移到PHP论坛。
PHP4/PHP5 are the versions the main thing is that you can run PHP on your site. I''m going to move this thread to the PHP forum.


这篇关于如何从外部更新htm文件中的表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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