Javascript validator
Web page editor
↑
Example -- Basic examples of Services_Google
Basic examples of Services_Google
The following examples show how to use some basic features
of Services_Google:
Example 67-1. Search Google for PEAR require_once 'Services/Google.php';
$google = new Services_Google($key);
$google->queryOptions['limit'] = 30;
$google->search("PEAR");
foreach ($google as $key => $result) {
echo "$key]\t$result->title\n";
} |
|
Example 67-2. Spell Checking require_once 'Services/Google.php';
$google = new Services_Google($key);
echo $google->spellingSuggestion("wahll")."\n"; |
|
→
Javascript validator
Web page editor