0

My PHP script gets the content from another site via file_get_contents(). The site im grabbing the content from only has an array thats being displayed with print_r() looking like this.

Array
(
 [0] => apple
 [1] => 10
 [2] => 6
 )

Now on my Page i want the grabbed content to be an array and not string? Is there anyway todo this ive been searching around for quite some time now and cant find a solution.

Freddy789
  • 506
  • 4
  • 15

0 Answers0