PHP Classes

File: GoogleDIT.php

Recommend this page to a friend!
  Classes of Umang Beri   Google It   GoogleDIT.php   Download  
File: GoogleDIT.php
Role: Example script
Content type: text/plain
Description: Example
Class: Google It
Get the latest headline from Google news
Author: By
Last change: Updated with more examples.
Date: 19 years ago
Size: 293 bytes


Class file image Download

require ("GoogleClass.php");

//change your topic here
$str = "PHP";

//create object
$blah = new GoogleIt($str);

//create output
echo $blah->GoogleD(); //default 1 output
echo $blah->GoogleD(5); //5 articles
echo $blah->GoogleD(10); //10 articles (max)