<?php
include_once("get_twits.php");
$data = array(
"user" => "HubSpot",
"count_tw" => "10",
"hash_t" => ""
);
$twits = new tweets_for_user($data);
?>
<html>
<table width="600px" align='center'>
<th>date</th> <th>What happen</th> <th>link</th>
<?php
for($i=0;$i<count($twits->result['date']);$i++)
{
echo("<tr>");
echo("<td>".$twits->result['date'][$i]."</td>");
echo("<td>".$twits->result['description'][$i]."</td>");
echo("<td><a href='".$twits->result['link'][$i]."'>link</a></td>");
echo("</tr>");
}
?>
</table>
</html>
|