1<?php 2 3require ("sphinxapi.php"); 4 5$cl = new SphinxClient(); 6$cl->SetSelect('attr1, attr2'); 7$cl->Query('query'); 8 9?> 10