title: How to transform json data to a comma separated php string?
body: <p>Let's say i have this json data. How to transform the "tags" to a string like</p>
  
  <p><code>$tags = "Rihanna, We, Found, Love, (Explicit), Def, Jam, Records, Pop";</code> ?</p>
  
  <pre><code>{ "apiVersion" : "2.1",
        "data" : { "items" : [ { "accessControl" : { "autoPlay" : "allowed",
                      "comment" : "allowed",
                      "commentVote" : "allowed",
                      "embed" : "allowed",
                      "list" : "allowed",
                      "rate" : "allowed",
                      "syndicate" : "allowed",
                      "videoRespond" : "allowed"
                    },
                  "aspectRatio" : "widescreen",
                  "category" : "Music",
                  "tags" : [ "Rihanna",
                      "We",
                      "Found",
                      "Love",
                      "(Explicit)",
                      "Def",
                      "Jam",
                      "Records",
                      "Pop"
                    ],
                  "title" : "Rihanna - We Found Love ft. Calvin Harris"
                } ],
            "itemsPerPage" : 1,
            "startIndex" : 1,
            "totalItems" : 859012,
            "updated" : "2012-04-04T20:32:26.170Z"
          }
      }
  </code></pre>
  
  <p>For the title as example, the script looks like this:</p>
  
  <pre><code>$content = $this-&gt;getDataFromUrl($feedURL);
  $content = json_decode($content,true);
  
  $videosList = $content['data']['items'];
  
  for($i=0; $i&lt;count($videosList); $i++) {
  
  $videosDatas['videos'][$i]['title'] = $videosList[$i]['title'];
  
  }
  </code></pre>