Skip to content

Instantly share code, notes, and snippets.

@ridho1991
Created March 10, 2015 01:44
Show Gist options
  • Save ridho1991/6f98b0976f6f4c3f086b to your computer and use it in GitHub Desktop.
Save ridho1991/6f98b0976f6f4c3f086b to your computer and use it in GitHub Desktop.
Home Page Grab Google Trends
<html>
<head>
<meta charset="UTF-8">
<title>Grab Google Trends</title>
</head>
<body>
<?php
require_once('countries.php');
echo '<ol>';
echo '<li><a target="_blank" href="/googletrends/googletrends.php">All Countries</a></li>';
$x=0;
for($x=0;$x<47;$x++){
echo '<li><a target="_blank" href="/googletrends/googletrend.php?code='.$country_code[$x].'&name='.$country_name[$x].'">'.$country_name[$x].'</a></li>';
}
echo '</ol>';
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment