I'm trying to get the title of a couple Android applications. Here's an example of my code I am using:
<?php
// Create DOM from URL or file
$package_name = 'com.brogent.livewallpaper.halloween';
include('simple_html_dom.php');
$html = new simple_html_dom();
$html -> load_file("http://play.google.com/store/apps/details?id='$package_name'");
$det[0][1] = $html->find('h1[class=doc-banner-title]');
echo $det[1];
?>
The problem I am having is that THIS is what my browser is showing me whenever I load the script in a php file:
load_file("http://play.google.com/store/apps/details?id='$package_name'"); $det[0][1] = $html->find('h1[class=doc-banner-title]'); echo $det[1]; ?>
So, what do I need to do to fix this issue so I can get the output I need, get the quick info I need, and get on my way?