Where to put the application ID in YQL

Posted by earlyriser on Stack Overflow See other posts from Stack Overflow or by earlyriser
Published on 2010-05-21T18:24:39Z Indexed on 2010/05/21 21:00 UTC
Read the original article Hit count: 282

Filed under:
|

I'm trying to read an xml response from YQL:

$url = 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.places%20where%20woeid%3D%22'.$woeid.'%22';

if (!$xml=simplexml_load_file($url) )
{
   //DO STUFF
}

This code works. Now i'm trying to put my application ID in the url string but I don't know how it should be done.

Thanks.

© Stack Overflow or respective owner

Related posts about php

Related posts about yql