Location: PHPKode > scripts > New Google Did You Mean > new-google-did-you-mean/sample.php
<?php include('class.DYM.php'); ?><?php

$DYM = new DYM();

// If you have trouble with "File delivery failed. Please try again."
$DYM->use_socketconnection = true;

// You may use dif lang the def is "en"
$DYM->lang = "en-US";

if ($DYM->suggest('Beauity Salon Durbanville')) {
	// this wil print the suggested spelling as per google

} else {

	echo ' No suggestion ';

Return current item: New Google Did You Mean