PHP Read JSON File Display Contents on Screen.

Job ID: 33470337

Budget: $10 – $30 USD

I need a simple php script that will:
1. run by typing a url into a browser
2. parse a given JSON file that will be in the same directory as the php parsing script
3. It will loop through the JSON data and display on the screen in the browser window, the ProductLine and ProductLineDesc

4. Then it will display the ItemCode and ItemCodeDesc for all the products in the ProductLine
5. repeat until all the data from the file is processed.
Here is example output for the first 2 ProductLines at the top of the JSON file: "ABRA" and "AGRI" the first 2 products of that ProductLine. in the example I am using a ~ character to separate the data.


ABRA ~ ABRASIVES & BRUSHES
ANCH6004000 ~ Anchor 4 1/2 x5/8 Arbor 60 grt
BLINDE000300 ~ Do not use #

AGRI ~ Agriculture Products
FEED BUNK 26100 ~ 26 in x 10' x 14ga Feed Bunk
FEED BUNK 26195 ~ 26 in x 19.5' Pipe feed bunk

And... Please, no complex frameworks like Laravel it needs to be simple.
Related categories: PHP XML JSON