Display a JSON-string as a table
Posted
by
Martin Aleksander
on Pro Webmasters
See other posts from Pro Webmasters
or by Martin Aleksander
Published on 2012-08-28T19:02:08Z
Indexed on
2012/08/28
21:52 UTC
Read the original article
Hit count: 490
I'm totally new to JSON, and have a json-string I need to display as a user-friendly table.
I have this file, http://ish.tek.no/json_top_content.php?project_id=11&period=week, witch is showing ID-numbers for products (title) and the number of views. The Title-ID should be connected to this file; http://api.prisguide.no/export/product.php?id=158200 so I can get a table like this:
ID | Product Name | Views
158200 | Samsung Galaxy SIII | 21049
How can I do this?
© Pro Webmasters or respective owner