![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
05/06/2017, 23:01
|
| | Fecha de Ingreso: agosto-2010 Ubicación: santiago, CHILE
Mensajes: 564
Antigüedad: 14 años, 5 meses Puntos: 9 | |
Respuesta: Sacar datos de una URL
Código PHP:
Ver original$url3 = 'https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22BME:SAN%22)&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback= '; $arr = explode("columns='", $d3->query->diagnostics->query->content); $info = substr($arr[1], 0, -1); echo $info;
espero que te sirva |