can anyone tell me why this code don't work:
$q = $_GET['q'];
// Load and parse the XML document
$rss = simplexml_load_file("http://search.twitter.com/search.atom?lang=en&q=$q&rpp=100&page=1");
$Count1 = 0;
while(strtotime($rss->entry->published)>1270833600){
foreach ($rss->entry as $item) {
$Count1++;
}
}
print "Total Record: ".$Count1;