CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   PHP (http://www.codingforums.com/forumdisplay.php?f=6)
-   -   Link an array from a URL and print array to a web page (http://www.codingforums.com/showthread.php?t=287485)

Willbbz 02-12-2013 12:37 AM

Link an array from a URL and print array to a web page
 
Howdy

Novice here but what I'm trying to do is use an array that's printed to a webpage in a format like this

Code:

["1","2","3","4","5","6","7","8","9"]
The values are always different every time I reload the URL where the array comes from so what I'd like to do is exactly this:

Get the values from the array

Print a static URL for each array value and append the array value to the end of the URL.

Would anybody be able to help me out as I'm a bit lost with this

EDIT:

Here's the URL to the webpage where I'll be getting the array from

Fou-Lu 02-12-2013 01:27 AM

That's a json array. You can get a PHP array out of it by using json_decode() function.


All times are GMT +1. The time now is 10:38 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.