<?php require_once('keyword_suggest.class.php'); $obj = new keyword_suggest('php programming'); if ($obj->execute()) { print 'Keywords' . var_dump($obj->get_keywords_weights()); } else { print 'Failed to execute request.'; } ?>