channel->item);//-->so mau tin moi$somautin=count($xmls->channel->item);for($i=1;$i<=$somautin;$i++){$tui=$i-1;$tieude=$xmls->channel->item[$tui]->title;$link=$xmls->channel->item[$tui]->link;$dates=$xmls->channel->item[$tui]->pubDate; echo "$tieude$dates
";}
No comments:
Post a Comment