<?php require ("sphinxapi.php"); $cl = new SphinxClient(); $cl->SetGroupBy('attr', SPH_GROUPBY_DAY); $cl->SetGroupDistinct('attr'); $cl->Query('query'); ?>
<?php require ("sphinxapi.php"); $cl = new SphinxClient(); $cl->SetGroupBy('attr', SPH_GROUPBY_DAY); $cl->SetGroupDistinct('attr'); $cl->Query('query'); ?>