因此,在我開始之前,我想說我只知道基本的HTML和CSS。 既然這樣,我在http://eu.bitswit.ch/api/server_leaderboard.php?server=71有一個JSON輸出,我想把它放到HTML表格中。 我在Google/Youtube上瀏覽過,但沒有一篇深入到足以幫助我。JSON到HTML表
[{"nickname":"|Gates|Domon","steam_id":"STEAM_0:1:8647245","kills":379,"deaths":175,"suicides":0,"tks":5,"score":4590},{"nickname":"Ambassador Pineapple","steam_id":"STEAM_0:1:5287117","kills":372,"deaths":127,"suicides":0,"tks":2,"score":4500},{"nickname":"Clayton","steam_id":"STEAM_0:1:57875311","kills":307,"deaths":118,"suicides":0,"tks":6,"score":3595},{"nickname":"Fluffy Penguin","steam_id":"STEAM_0:1:40834109","kills":205,"deaths":136,"suicides":0,"tks":5,"score":1620},
請提供您的JSON(或短,足夠的例子)到問題本身。 – Vulcan
堆棧溢出就像一個圖書館爲未來的訪客。這就是代碼需要提出問題的原因。要做到這一點,點擊編輯,然後複製/粘貼。除非是某人的版權數據,否則不要這樣做。謝謝。 – Paul
點擊編輯,而不是評論。 – Paul